English

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; - Computer Applications

Advertisements
Advertisements

Question

List the variables from those given below that are composite data types:

  1. static int x;
  2. arr[i]=10;
  3. obj.display();
  4. boolean b;
  5. private char chr;
  6. String str; 
Short Answer

Solution

The composite data types are:

  1. string str;
  2. arr[i] = 10;
  3. obj.display(); 
shaalaa.com
Classes as an Object Factory
  Is there an error in this question or solution?
Chapter 6: Class as the Basis of all Computation (Objects and Classes) - Review Insight [Page 381]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 6 Class as the Basis of all Computation (Objects and Classes)
Review Insight | Q 8. | Page 381
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×