Examine the following declarations:
int area;
String name;
Which of the following is true?
  A.    area is a primitive variable, and name is a reference variable.
  B.    area is a reference variable, and name is a primitive variable.
  C.    both are primitive variables
  D.    both are reference variables 

Ans IS: A

Comments

Popular posts from this blog

Android Sudoku Game Project With Source Code