Computer Science, asked by Anonymous, 5 months ago

java qs

What is the difference between double and int

a. int can store integer without decimal place and double can store decimal values

b. int cant store integer without decimal place and double can store decimal values

c. int can store integer without decimal place and double can store only decimal values

which option is the correct one ?​

Answers

Answered by gaurvidixit1310
2

Answer:

int is a binary representation of a whole number, double is a double-precision floating point number. Short answer: int uses up 4 bytes of memory (and it CANNOT contain a decimal), double uses 8 bytes of memory. Just different tools for different purposes

Explanation:

heyy hope it helps

Answered by gopalthakur58
6

Answer:

hiii

Explanation:

Im from maharashtra

and my fav subs are also maths,eng and bio !

your hobbies ?

Similar questions