Articles & Tutorial for SCJP 5.0 certification
All articles for SCJP 5.0 certification
Tips and How Tos for SCJP 5.0 certification
String Handling
in SCJP 5.0
The String class is defined in the java.lang package and hence is implicitly available to all the programs in Java. The String class is declared as final, which means that it cannot be subclassed. It extends the Object class and implements the Serializable, Comparable, and CharSequence...
continue reading " String Handling" »
A Closer Look at Methods
in SCJP 5.0
A method is a set of statements grouped together to perform a specific task. It is written to define the behavior of an object or a class. In object-oriented programming, a behavior is referred to as a message that one object sends to another object. Behavior is the only way by which an object...
continue reading "A Closer Look at Methods" »
Arrays
in SCJP 5.0
Introduction
An array is a fixed length data structure that stores multiple values of the same data type. A Java array is a collection of primitive types, object references, or references to other arrays. An individual value stored in an array is called an element of array. An array can...
continue reading "Arrays" »
Constructors
in SCJP 5.0
A constructor is a special kind of method that is written as a part of a class. It provides a convenient way to initialize a newly created object at the time of its creation. Once a constructor is defined for a class, it is called automatically immediately after the creation of a new object,...
continue reading "Constructors" »
Control Statements in Java
in SCJP 5.0
A program is a group of statements that are executed to achieve a predetermined task. Statements in a program are generally executed in a sequential manner, which is called sequential execution or sequential control flow. However, by putting the decision-making statement in the program, the...
continue reading "Control Statements in Java" »
How are packages declared?
in SCJP 5.0
Packages are declared by using the package statement. The word package is a keyword in Java. The package statement is not technically needed to write a complete Java program. However, if it appears, it must be the first executable statement in the program. Only comments or white spaces are...
continue reading "How are packages declared?" »
Interfaces
in SCJP 5.0
In Java, a class can have at the most one immediate superclass. Multiple inheritance , where a class has more than one superclass, is not allowed in Java. However, one cannot ignore the importance of multiple inheritance because a large number of real-life applications require the use of...
continue reading "Interfaces" »
Java Control Statements
in SCJP 5.0
A program is a group of statements that are executed to achieve a predetermined task. Statements in a program are generally executed in a sequential manner, which is called sequential execution or sequential control flow. However, by putting the decision-making statement in the program, the...
continue reading "Java Control Statements" »
Modifiers
in SCJP 5.0
Modifiers are Java keywords that are used to declare features in applications. They affect either the lifetime or the accessibility of a feature. A feature may be a class, a method, or a variable.
Modifiers that affect the visibility of a feature are called access modifiers or visibility...
continue reading "Modifiers" »
New features in Java certification exam.
in SCJP 5.0
Some of the important features added to Java 5.0 are as follows:
Autoboxing and Unboxing
Covariant returns
Enhanced for loop (for-each)
enum
Generics
Static Imports
Variable-argument lists (varargs)
StringBuilder class
Other additions to the exam, which are...
continue reading "New features in Java certification exam." »
