answersLogoWhite

0


Best Answer

Certainly not in a primitive data type. You can store it in a String, of course. Now, if you want do treat it as a number and do actual calculations, you can store such large numbers in an object based on the BigInteger class; this class allows you to work with numbers of an arbitrary size, limited only by available memory. (There is also a similar BigDecimal class that allows you to work with numbers with decimals).

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can this integer 6546454564564564564564564564565645645645645645645645645645645645645645645645 be stored in Java exactly if yes then please state the data type?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the largest integer that can be stored in 16 bits?

65,535 in decimal = 1111111111111111 in binary.


What is the largest positive integer that can be stored in memory size of 1 byte?

255


What is the range of signed integer that may be stored in 20 bits?

From -524287 to 524288


Why four billion studs max in Lego video games?

Four billion, 4294967296, is the maximum integer that can be stored into a 32 bit integer variable.


What is the largest positive number that can be stored using 8 bits?

An N-bit integer holds 2N different values.For an unsigned integer, the range of values is 0..2N-1 thus.For a signed integer using 2s complement, the range is -2N-1..+2N-1-1.Therefore, the largest positive number that can be stored using 8 bits is 255.


What is the maximum value that can be stored in an integer in c?

if it is a signed int the the range is -32768 to 32767if its unsigned then 0 to 65535


The facilities that are in the City of Caves please?

stored stuff like oil


What happens if we use an integer pointer as a member of structure instead of structure pointer?

By declaring an integer pointer you are declaring that any non-zero reference stored in the pointer is guaranteed to be an integer reference. In order to guarantee the reference is actually a structure, the pointer must be declared as such, because casting an integer to a structure can never be regarded as being type-safe.


Mat function is used to find the sum of a number in java?

No! Not at all! For example, the integer (int) named 'y' should be added to integer 'z' and stored into the variable 'x.' See the following: int y = 5; int z = 3; int x = 5 + 8; Note that you must add AFTER the involved variables are stored, or else 'x' will be zero.


What exactly does plastic bins mean?

It means a storage type bin made out of plastic. There are many sizes and types to chose from depending on what it will be used for, and what exactly will be stored in them.


How many hard copy pages can be stored on this device?

Please mention the volume of the disc.


How many different values can 128 bits represent?

A 128-bit register can store 2 128th (over 3.40 × 10 38th) different values. The range of integer values that can be stored in 128 bits depends on the integer representation used.