what are data types in java ?Explain in java.
Answers
Answered by
6
Answer:
Data Types in Java. ...
Primitive data types: The primitive data types include boolean, char, byte, short, int, long, float and double.
Non-primitive data types: The non-primitive data types include Classes, Interfaces, and Arrays.
Answered by
2
Answer:
Data types are divided into two groups: Primitive data types - includes byte , short , int , long , float , double , boolean and char. Non-primitive data types - such as String, Arrays and Classes
Similar questions