CONTENTS
1 Declarations and Access Control
Features and Benefits of Java (OCA Objective 1.5)
Identifiers and Keywords (OCA Objectives 1.2 and 2.1)
Oracle’s Java Code Conventions
Define Classes (OCA Objectives 1.2, 1.3, 1.4, 6.4, and 7.5)
Using the javac and java Commands
Using public static void main(String[ ] args)
Import Statements and the Java API
Class Declarations and Modifiers
Exercise 1-1: Creating an Abstract Superclass and Concrete Subclass
Use Interfaces (OCA Objective 7.5)
Declaring default Interface Methods
Get OCA Java SE 8 Programmer I Exam Guide (Exams 1Z0-808) 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.