Computer Science, asked by vallabhyerne1206, 1 year ago

primitive data types .​

Answers

Answered by bindusri1828
1

Primitive types are the most basic data types available within the Java language. There are 8: boolean , byte , char , short , int , long , float and double

Answered by cyrusbishop
0

The above question is not a complete question.

The correct question- What are primitive data types?

Answer:

The data types, which are independent of any other type, are known as Primitive data types. These types are also called Basic Data Types like int, long, float, double and many more.

Primitive data types are pre-defined or built-in data types because the system developers of Java have defined them. We can declare a variable of type int, which will follow the characteristics mentioned inn this type.

Example- int x;

It means variable x follows the characteristics of int type. Hence variable x contains only integer value.

Similar questions