1.

List the variables from those given below that are composite data types:(i) static int x; (ii) arr[i]=10; (iii) obj.display(); (iv) boolean b; (v) private char chr; (vi) String str;

Answer»

The composite data types are: 

(i) string str; 

(ii) arr[i] = 10; 

(iii) obj.display();



Discussion

No Comment Found

Related InterviewSolutions