Engineering Full Stack Apps with Java and JavaScript
Which of the following is not a primitive data value in Java?
Select 2 options
A. "x" B. 'x' C. 10.2F D. Object E. false
A, D
A - This is a string containing x. A string is not a primitive data type.
Java has only the following primitive data types: boolean, byte, short, char, int, long, float and double.
Logged in users see lesser ads and get more features.
If you want to solve the questions together with the experts and understand the concepts better, please contact us using the contact form or WhatsApp numbers. Selected people get to do that without any additional charges.