Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What's the difference between bytes Short. What is the long data type in it? Thank you for your questions.
What's the difference between bytes Short. What is the long data type in it? Thank you for your questions.
Mainly because the size and scope of storage space are different. The following is the storage space of JAVA's basic type byte: 1 byte, 2 bytes in the short storage space range of-128~ 127, and 4 bytes in -2,15th power ~2,15th power-/kloc-0. The storage space of -2' s 3 1 power to -2' s 3 1 power Long is 8 bytes, and the default values of -2 to-1 to 63' s power are all upstairs. If int is in C and C++, it may be 2 bytes. This must be made clear! Please don't refer to this answer, pay attention to your character.