Archive for the 'SCJP' Category

SCJA CX310-019 Short Notes: Exam Passing Tips

Fundamental Object-Oriented Concepts

  • In Java, a narrowing conversion is also known as an explicit type conversion or casting.
  • A byte can represent values between -128 to 127.
  • An array, in Java, is an ordered collection of primitives, object references, or other arrays. All the elements of an array must be of the same type, except in case of polymorphism.
  • Array elements are initialized to default values, wherever they are created.
  • The increment operator can be used in either of the two forms given below:
    1. Prefix form: In the prefix form, it appears before the operand. For example, ++a;
    2. Postfix form: In the postfix form, it appears after the operand. For example, a ++;
  • Numeric promotions are used to convert the operands in a numeric expression to a common type before an operation is performed between the operands.
  • In Java, there are two kinds of numeric promotions as follows:
    1. Unary numeric promotion
    2. Binary numeric promotion
  • Pass SCJA Certification Java 1.2 in a first attempt:

    Skills required for Sun Java CX310-055

    Sun has specified more than thirty five objectives for Sun test CX310-055 (Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0), which are grouped under Seven topics. Before taking the test, an individual should posses a good command over the following areas:

    1. Developing code that declares all kinds of classes, nested and inner classes, interfaces, packages, import statements, enums and abstract classes.
    2. Developing code that declares, initializes and uses primitives, arrays, enums and objects as static, local and instance variables.
    3. Using JavaBeans naming conventions in code. Using variable-length argument list in code.
    4. Making proper use of overloading, overriding, and method declaration. Determining if default constructor will be created.
    5. Developing code by using if, switch, while, do-while, labels, break, continue, for, and enhanced for loop.