| |
Java 2 objects, messages, and classes - describe software objects and classes, and outline the benefits of an object-oriented programming approach. Inheritance and polymorphism in Java 2 - outline the principles of inheritance in Java, including what is meant by polymorphism. Creating and using objects in Java 2 - declare, instantiate, and use objects. The main method in Java 2 applications - describe the function of the main method in a Java application, including the use of command-line arguments. Declaring Java 2 classes - create a Java class, including its methods, constructors, and variables. Garbage collection and finalization in Java 2 - outline how Java's garbage collection system works, and be able to explicitly make objects available for collection. Creating a Java 2 class - create a simple object-oriented application. Packages and the import statement in Java 2 - explain the function of packages in Java, and show how to import packages in a Java source file. Java 2 classes and access modifiers - use Java's access modifiers to specify which code can access their classes, variables, and methods. Implementing inheritance in Java 2 - explain how to extend a Java class. Extending a Java 2 class - create a class that extends another Java class. Instance and class members in Java 2 - correctly use class and instance members in their code. Final and abstract modifiers in Java 2 - use Java's final and abstract modifiers. Java 2 interfaces - explain Java interfaces, and create a class that implements an interface. Java 2 inner classes - create inner classes, static inner classes, local inner classes, and anonymous inner classes.
|
|