Chapter 12Advanced Java Class Design
THE OCP EXAM TOPICS COVERED IN THIS PRACTICE TEST INCLUDE THE FOLLOWING:
- Advanced Java Class
- Develop code that uses abstract classes and methods
- Develop code that uses the 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 @Override annotation
- Create and use Lambda expressions
-
Which of the following is required for all valid lambda expressions?
- ()
- ->
- {}
- Parameter data type(s)
Get OCA / OCP Java SE 8 Programmer Practice Tests 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.