Chapter 1Java Building Blocks

OCA exam objectives covered in this chapter:

  • correct Java Basics
    • Define the scope of variables
    • Define the structure of a Java class
    • Create executable Java applications with a main method; run a Java program from the command line; including console output
    • Import other Java packages to make them accessible in your code
    • Compare and contrast the features and components of Java such as platform independence, object orientation, encapsulation, etc.
  • correct Working with Java Data Types
    • Declare and initialize variables (including ...

Get OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 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.