CHAPTER 2
Java Class Design
Certification Objectives |
---|
Implement encapsulation |
Implement inheritance including visibility modifiers and composition |
Implement polymorphism |
Override hashCode, equals, and toString methods from Object class |
Create and use singleton classes and immutable classes |
Develop code that uses static keyword on initialize blocks, variables, methods, and classes |
Object-Orientation (OO) is the core of the most mainstream programming languages today. To create high-quality designs and software, it is important to get a good grasp of object oriented concepts. This chapter on class design and the next chapter on advanced class design ...
Get Oracle Certified Professional Java SE 8 Programmer Exam 1Z0-809: A Comprehensive OCPJP 8 Certification Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.