Computer Science, asked by cal13, 9 months ago

what are datatypes in java and c++​

Answers

Answered by Anonymous
1

Answer:

hi mate,

Java has two categories of data: Primitive Data Type: such as boolean, char, int, short, byte, long, float and double. Non-Primitive Data Type or Object Data type: such as String, Array, etc.

Primitive Data Types: These data types are built-in or predefined data types and can be used directly by the user to declare variables. example: int, char , float, bool etc. Primitive data types available in C++ are: Integer.

...

Long.

Data Type Size (in bytes) Range

unsigned char 1 0 to 255

float 4

double 8

long double 12

hope it may help you..

can u please follow me

Answered by Anonymous
1

Explanation:

HEY MATE!!

MARK AS BRAINLIEST....

plz follow me....

Java has two categories of data: Primitive Data Type: such as boolean, char, int, short, byte, long, float and double. Non-Primitive Data Type or Object Data type: such as String, Array, etc.

Similar questions