Chapter 2. Language Fundamentals

Terms you'll need to understand:

  • package

  • import

  • public

  • protected

  • private

  • Instance variable

  • Reference variable

  • main method

  • Javadoc

  • Deprecated

Techniques you'll need to master:

  • Distinguishing the correct order and use of items in Java source code files

  • Identifying Java keywords and nonkeywords

  • Recognizing legal and illegal Java identifiers

  • Stating the range of values in the following primitive types: byte, short, char, int, long, float, and double

  • Knowing the state of member variables that have not been explicitly initialized

  • Knowing the difference between declaring, constructing, and initializing an array

  • Determining the value of an array element of any base type

  • Giving the correct form of a main method and using parameters passed ...

Get Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035) now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.