Programming MCQS - QUESTION DETAILS

Which of the following is not a primitive data type in Java?
A. int
B. float
C. double
D. class

'class' is not a primitive data type in Java.

Similar Questions

What is the output of printf("%d", 5 << 2);?






Which header file is needed for file input and output operations in C?






What is the output of printf("%d", sizeof(1.5));?






What is the purpose of the 'strncpy' function in C?






What is the purpose of the 'default' keyword in a switch statement?






How do you create an object of a class in Java?






How do you use the 'const' keyword with a pointer in C?






Which method is used to read data from the keyboard in Java?






How do you declare a constant integer in C?






What is the output of System.out.println(10 / 3.0);?