Explanatory Question
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;
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.