1. Computing
Identify classes that correctly implement an interface where that interface is either java.lang.Runnable or a fully specified interface in the question.

State the correspondence between index values in the argument array passed to a main method and command line arguments.

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 formats, data types, and declare literal values for String and all primitive types using all permitted formats bases and representations.

Operators and Assignments

Determine the result of applying any operator (including assignment operators and instance of) to operands of any type class scope or accessibility or any combination of these.

Determine the result of applying the boolean equals (Object) method to objects of any combination of the classes java.lang.String, java.lang.Boolean and java.lang.Object.

In an expression involving the operators &, |, &&, || and variables of known values state which operands are evaluated and the value of the expression.

Determine the effect upon objects and primitive values of passing variables into methods and performing assignments or other modifying operations in that method.

Overloading, Overriding, Runtime Type, and Object Orientation

State the benefits of encapsulation in object oriented design and write code that implements tightly encapsulated classes and the relationships "is a" and "has a".

Write code to invoke overridden or overloaded methods and parental or overloaded constructors; and describe the effect of invoking these methods.

Write code to construct instances of any concrete class including normal top level classes and nested classes.


Write code to define, instantiate, and start new threads using both java.lang.Thread and java.lang.Runnable.

Recognize conditions that might prevent a thread from executing.

Write code using synchronized wait, notify, and notifyAll to protect against concurrent access problems and to communicate between threads.

Define the interaction among threads and object locks when executing synchronized wait, notify, or notifyAll.

Fundamental Classes in the java.lang Package

Write code using the following methods of the java.lang.Math class: abs, ceil, floor, max, min, random, round, sin, cos, tan, sqrt.

What is Math class?
The Math class is a class contained in the java.lang package. This class extends the java.lang.Object class and is declared as public and final. This class defines various static methods for performing basic mathematical operations such as exponential, square root, and trigonometric functions. In addition, this class also defines static fields Math.E and Math.PI that are two commonly used constants in mathematical operations.

The Math class is declared as final and hence cannot have any subclasses. It contains a private, no argument constructor. No other constructor is defined in the Math class, which prevents it from being instantiated.

The members defined in this class are called simply by using the member name qualified by the class name along with a dot (.) operator.

What is the max() method?
The max() method is a static method of the java.lang.Math class. It takes two numbers as its arguments and returns the larger number. This method is overloaded for the int, long, float, and double type arguments. It has the following versions:

public static int max(int p, int q)
public static long max(long p, long q)
public static float max(float p, float q)
public static double max(double p, double q)

The first version takes two int type values as its arguments and returns the larger of the two values. The second version takes two long type values as its arguments and returns the larger of the two values, and so on.

  1. About.com
  2. Computing
  3. Tech Certification
  4. All Certifications
  5. Java
  6. SCJP Exam CX 310-035 Study Notes

©2014 About.com. All rights reserved.