Cosmic Q&A
What are primitive data types?
Answer
Data types like int, float, char etc are not class based data types. They are used to store integer, floating point values and char values respectively. Since these data types are not class based data types, they are not inherited from Object class. Primitive data types are allocated memory in Java Virtual Machine Stack Space.
Share this page:
Report Error in Content