Examine the following section of code:
int area;
String name;
How many objects have been created?
A.   None—there is one object reference variable, but no objects yet.
B.    One—there is one object reference variable so there must be one object.
C.   Two—one for each variable.
D.   Two—one for each type. 

ANS IS: A 

Comments

Popular posts from this blog

Android Sudoku Game Project With Source Code