Title: Relationship - Exam questions tests - Sun Certified Java Programmer 310-065 - Lesson 66
Duration: 16 minutes
Summary: In this video, we proceed with sample # 2 of the Java certification exam. We have seen over and over again questions about the Thread class and the wait() method. By now, we should know that a thread must own the lock on an object whose wait() method is to be called. Another important concept that we encountered before is the is-a/has-a relationships. Has-a is about containment (example, a Room class contains a Table class). And the is-a relationship is about inheritance (for example, a Rectangle is a Shape). Other important concepts include: encapsulation, covariant, coupling, cohesion, overriding and autoboxing. Some exam questions could be related to formatting, so pay close attention to %c, %d, %f, and %b. One of the heated debates is the use of interfaces versus abstract classes. For the exam, we need to know the difference, and how to implement interfaces. Finally, the asList() method copies an array to a list, and changes (not additions) to the List or the array will be reflected in the other.
Methodology of the development of example: Good coding standard and simplified design to prepare for the Java programmer certification exam CX-310-065.
Technology Used: Java – Core Concepts.
Keywords: class, object, Thread, wait(), yield(), join(), encapsulation, covariant, coupling, autoboxing, interface, abstract class, array, List, asList().












Post stats:
See the prices for this post in Mr.Bool Credits System below: