CHAPTER 3

image

Advanced Class Design

Certification Objectives

Develop code that uses abstract classes and methods

Develop code that uses final keyword

Create inner classes including static inner class, local class, nested class, and anonymous inner class

Use enumerated types including methods and constructors in an enum type

Develop code that declares, implements, and/or extends interfaces and use the atOverride annotation

Create and use Lambda expressions

You learned the basic concepts of OOP and used them to build Java programs in the preceding chapter. In this chapter, you will learn advanced class design concepts. You will also learn about the ...

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.