Java Numeric Data Type

Java Data Type
1. Java is strongly typed programming language
e.g. int x = 10.6; Wrong
Boolean a = 0; Wrong
2. Java is not considered as pure object-oriented language as it used primitive data types which are not an object. Also, operator overloading and multiple inheritances are not supported.

b. short (2 bytes – 16 bits) (RANGE – -2^15 to 2^15-1) (-32768 to 32767)
* No one is used short data type
e.g. short s = 32767, short s = 32768 (wrong)
* Short is used for a 16-bit processor like 8085, 8086 because of reading and writing process is easy and efficient. But now they are outdated so no one is using short data type.