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.
This module will review your knowledge of Java language fundamentals, provide examples of their use, and help you to satisfy the following exam objectives:
Identify correctly constructed package declarations and
Identify how the
main() method that is used to start execution of a class is formed.
- State the correspondence between index values in the argument array passed to a
main() method and command line arguments.
- Identify all Java programming language keywords.
State the effect of using a variable or array element of any kind when no explicit assignment has been made to it.
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.