Computer Science, asked by reddynsgopala, 10 months ago

Explain the different data types of Java.​

Answers

Answered by vinonithish1989
6

Answer:

There are two types of 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 pallavisrinivas2004
0

Answer:

Expressions and variables in JavaSW have types. The two categories of types are primitive types and reference types. There is also a null type. The primitive types are boolean, byte, short, int, long, char, float, and double. The reference types are classes, interfaces, and arrays.

Similar questions