prev next prev next
  Course navigation
 
Lesson 1
Java Language fundamentals
   
The ability to create and compile Java source code files into running applications is the first skill acquired in becoming a Java programmer. This involves creating packages for your classes and interfaces and importing classes and interfaces from other packages. It also involves creating a properly formed main() method and using it to access command line arguments. In addition, you learn how to create valid identifiers and work with primitive types.
These are the fundamentals of Java programming. The certification exam contains a number of questions that test your mastery of these fundamentals.
This module reviews these topics and identifies important points that you should know in preparation for the exam.
Module objectives
This module will review your knowledge of Java language fundamentals, provide examples of their use, and help you to satisfy the following exam objectives:
  1. Identify correctly constructed package declarations and import statements.
  2. Identify how the main() method that is used to start execution of a class is formed.
  3. State the correspondence between index values in the argument array passed to a main() method and command line arguments.
  4. Identify all Java programming language keywords.
  5. State the effect of using a variable or array element of any kind when no explicit assignment has been made to it.
  6. State the range of all primitive data types, and declare literal values for String and all primitive types using all permitted format bases and representations.
  Course navigation