download the application please visit www.mrbool.com/player
Java Programmer 310-065-Lesson 9-Assignments-Part 2 (when an
instance variable is not initialized and how that throws an
exception at runtime)
Duration: 16 minutes
Summary: This video continues our discussion of the assignments. The exercises
cover when an instance variable is not initialized and how that throws an
exception at runtime. Then, we covered cases when reference variables are being
changed around. For that we used paint to keep track of the drawing to know
where the references are pointing to draw the correct conclusion. As a test
taker, this strategy is highly recommended (get a scratch paper and as you go
through the code try to determine where the references are pointing). We also
covered a case where the variable is declared twice in the same scope. Finally,
we used an example that discusses static initialization blocks, instance
initialization blocks, inheritance, and the order of calling default constructors.
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: Sun Certified Java Programmer, Stack, Heap, Scope, Variable, Object,
class, Assignment, Methods, reference, garbage collection, Array,
initialization blocks, Boxing, Overloading.