1.) How many primitive data types are there in Java?
2.) Which of the following is not a primitive data type in Java?
3.) What is the size of the int
data type in Java?
4.) What is the default value of a boolean variable in Java?
5.) Which keyword is used to declare a variable accessible across all class instances and shared among them?
6.) What is the range of the byte
data type in Java?
7.) What is the largest primitive data type in Java?
8.) What is the default value of an object reference (non-primitive) data type in Java if it is not initialized?
9.) Which data type is used to store characters with a larger range, including non-English characters?
10.) What is the size of the double
data type in Java?