Witscale Test Center

 


 

 


 

 

Text Box: 1
Java declaration basics


This chapter covers…

Ñ	Declaration syntax of Java class, interface
Ñ	Method and variable declaration 
Ñ	Packages and import statements
Ñ	Java object creation and memory model
Ñ	The keywords, this, super and new

The SCJP Handbook


If you are new to Java, this chapter will give you some idea on how a typical Java application is structured. This chapter does not cover any SCJP objective. But the exam does have questions relating to the exact syntax of constructs such as a Java class and its member declarations. You might as well be asked to identify the syntactically incorrect declarations. This chapter prepares you for all such minute details about the declarations. You may skip this chapter if you are already apt in declaration syntax. Note that you need to have basic knowledge of object-oriented programming as a prerequisite.