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


Popular posts from this blog