Home / Questions /  List the variables from those given below that are composite data types: static int x; arr[i]=10; obj.display(); boolean b; private char chr; String str;
Explanatory 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;

👁 70 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

The composite data types are:

  • arr[i]=10;
  • obj.display();
  • String str;