Computer Science, asked by jyotisudha1974, 7 days ago

Name the data types in java and explain them.​

Answers

Answered by Prxyaaa
26

Answer:-

Data types specify the different sizes and values that can be stored in the variable. There are two types of data types in Java:

  1. Primitive data types: The primitive data types include boolean, char, byte, short, int, long, float and double.
  2. Non-primitive data types: The non-primitive data types include Classes, Interfaces, and Arrays.l
Similar questions