Define data types. Explain different data types available in Java.
Answers
Answered by
6
Answer:
the data type is used to know that the data is of which type there arethree types of data types. data type is used to holds the value
- Boolean type
- string type
- numeric type
Answered by
1
a particular kind of data item, as defined by the values it can take, the programming language used, or the operations that can be performed on it.
Java Data Types
- Primitive data types - includes byte , short , int , long , float , double , boolean and char.
- Non-primitive data types - such as String, Arrays and Classes (you will learn more about these in a later chapter)
Similar questions
Social Sciences,
5 months ago
CBSE BOARD X,
5 months ago
Math,
11 months ago
Science,
11 months ago
Math,
1 year ago
Physics,
1 year ago
Computer Science,
1 year ago