O'Reilly logo

OCA Java SE 7 Programmer I Certification Guide: Prepare for the 1Z0-803 exam by Mala Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Java basics

Exam objectives covered in this chapter

What you need to know

[1.2] Define the structure of a Java class. Structure of a Java class, with its components: package and import statements, class declarations, comments, variables, and methods. Difference between the components of a Java class and that of a Java source code file.
[1.3] Create executable Java applications with a main method. The right method signature for the main method to create an executable Java application. The arguments that are passed to the main method.
[1.4] Import other Java packages to make them accessible in your code. Understand packages and import statements. Get the right syntax and semantics to import classes from packages ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required