Identify the Primitive data types in java??
A,D
Correct answer
Explanation
In Java, primitive data types are the basic built-in types that are not objects. 'int' and 'float' are both primitive types - int is a 32-bit integer and float is a 32-bit floating-point number. Array (B) is not a primitive type - it's a reference type/object. String (C) is also not primitive - it's a class from the java.lang package.