in JAVA by (6.5k points)
What is the size of an int variable in 32-bit and 64-bit JVM?

1 Answer

0 votes
by (32.2k points)

The size of int is same in both 32-bit and 64-bit JVM, it's always 32 bits or 4 bytes.

Related questions

0 votes
+1 vote
asked Jan 24, 2020 in JAVA by rahuljain1 (6.5k points)
0 votes