download the application please visit www.mrbool.com/player
Title: Inheritance: Exam
questions tests - Sun Certified
Java Programmer 310-065 - Lesson 50
Duration: 16 minutes
In this video, we continue the list of exam questions. The main concepts in
this video are: static and transient variables, assert, public/non-public
classes in a source file, the finally block, and the is-a relationship. First,
static and transient variables are not serialized because static variables
belong to the class not the object, and transient keyword is used with data
that you do not want to serialize (for example, id, social security number…).
Second, methods that return void cannot be used with assert. Third, many classes
can be available in the same source file, but only one of them can be public,
and that class must match the name of the source file. Fourth, finally block
always executes (whether there was an exception or not). Finally, is-a
relationships applies to inheritance (at least 2 classes, parent and child),
and coupling is not used to evaluate classes within the same inheritance tree.
of the development of example: Good coding standard and
simplified design to prepare for the Java programmer certification exam CX-310-065.
Used: Java – Core Concepts
class, object, static, transient, serialized, FIFO, assert, finally, is-a