Duration: 17:37 minutes
Summary: This is the final video of the Java certification exam 310-065. We finished the book material and we took two sample exams – 75 questions each. I hope this long discussion has been helpful to you. I recommend that you take the exam as soon as you are done with these videos while the material is still fresh in your mind. The first question talks about a PriorityQueue that uses a Comparator object to compare the values in reverse order. Then we use the poll() method to retrieve the first value, but since the elements are in reverse, we end up polling the largest value. In the second question, we are tested in class and package declarations. We need to know that package declaration comes first, then import, then class declarations. Other orders are not correct. For the third question, we discuss correct declarations for is-a and has-a relationships. In the fourth question, we discuss inheritance. In the fifth and final question for this video, we talk about TreeSet and the tailSet() method. When the second parameter to tailSet() is true, it means inclusive and the first parameter will be part of the result.