CONTENTS

      Contributors

      Acknowledgments

      Preface

      Introduction

Part I

OCA and OCP

  1  Declarations and Access Control

      Java Refresher

      Identifiers and Keywords (OCA Objectives 1.2 and 2.1)

                    Legal Identifiers

                    Oracle’s Java Code Conventions

      Define Classes (OCA Objectives 1.2, 1.3, 1.4, 6.6, and 7.6)

                    Source File Declaration Rules

                    Using the javac and java Commands

                    Using public static void main(String[] args)

                    Import Statements and the Java API

                    Static Import Statements

                    Class Declarations and Modifiers

                    Exercise 1-1: Creating an Abstract ...

Get OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804) 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.