Note:

  • 1.1, 1.2, 1.3 and 1.6 are covered in OCAJP, so not much code here for them.


1. Implement encapsulation





2. Implement inheritance including visibility modifiers and composition





3. Implement polymorphism





4. Override hashCode, equals, and toString methods from Object class





5. Create and use singleton classes and immutable classes





6. Develop code that uses static keyword on initialize blocks, variables, methods, and classes





Comments

If you have questions, corrections, information or examples to add, please comment below.

Add a New Comment