answersLogoWhite

0

float usually 4

double usually 8

long is 8 but integer, unlike double

string is a pointer to a memory address containing array of chars, so it doesn't have a fixed size

and a char is usually 1, but i think its 2 in java

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What are two Java primitive types store floating-point numbers?

In Java, you can use either a float or a double


How many bytes are required to store an float in ADA?

four


How many bytes are required to store a character string?

about eight bits, which is equal to one byte


What data type is used to store dollar amounts?

double or float


What do you mean by vectors only hold objects not primitive data types?

It means that you can only store values like Integer, String etc in a Vector and not values like int, float etc. int, float, double etc are primitive data types. collections by their default behavior can hold only objects and not primitives.


How many bytes are used to store a 64-bit number?

how many bytes are there in a 64-bit machine? Another Answer: It takes 8 bytes to store a 64 bit number.


How much data can be stored in a system that has a capacity of 232 bytes?

A system with a capacity of 232 bytes can store 4,294,967,296 bytes of data.


How many bytes are used to store a 64 bit number?

how many bytes are there in a 64-bit machine? Another Answer: It takes 8 bytes to store a 64 bit number.


How many bytes of data can a 60 gb hard drive store?

61440 Mega Bytes(MB) that is 62914560 Kilo bytes(KB) that is 64424509440 BYTES....- Mayank


How many bytes are needed to store 32767?

32767 is the maximum value that can be stored in two bytes.


What do you mean by long integer and double integer?

Different computer languages use different amounts of memory to store integers. For example, C++ uses a minimum of 4 bytes, Java a min of 8 bytes. A long integer is one which is requires more bytes than the standard amount. When the storage requirement gets to twice the standard amount, the number becomes a double integer.


Which numeric type field will you choose to store fractional values?

Floating point types are used to represent fractional numbers. In both C and Java the names for these types are float and double. double offers greater precision than float.