Overview/Description
To enable the learner to implement inheritance and polymorphism in Java and to work with Java's static and final modifiers
Target Audience
Programmers with an understanding of procedural programming concepts who want to learn Java and object-oriented programming; programmers proficient in another object-oriented programming language who want to move to Java; programmers experienced in the Java language who want to take the Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0 exam
Prerequisites
Knowledge of programming principles and experience in procedural programming or scripting languages, such as Visual Basic, C, or JavaScript; understanding of object-oriented languages, such as C++ or C#, is an advantage
Java Programming with J2SE 5: Working with Classes in Java
identify how inheritance and polymorphism are implemented in Java.
specify the code required to create a subclass for a given scenario.
create a suitable inheritance class structure for a given scenario, and extend a superclass.
specify the code required to create abstract classes and methods for a given scenario, and recognize the code required to create a class that implements an interface.
declare, access, and initialize Java instance and class members in a given scenario.
use the final modifier to declare variables, methods, and classes for a given scenario.
declare and initialize Java variables, and declare and call Java methods in an enterprise scenario.
identify how garbage collection is implemented in Java, and recognize the function of the finalize method.
declare and instantiate Java's inner classes for a given scenario.