DATA TYPES:- Every variable has a type, every expression has a type and all types are strictly define more over every assignment should be checked by the compiler by the type compatibility hence java language is considered as strongly typed programming language . Java is pure object oriented programming or not? Java is not considered as pure object oriented programming language because several oops features (like multiple inheritance, operator overloading) are not supported by java moreover we are depending on primitive data types which are non objects. Diagram: Except Boolean and char all remaining data types are considered as signed data types because we can represent both "+ve" and"-ve" numbers. Integral data types : Byte: Size: 1byte (8bits) Maxvalue: +127 Minvalue: -128 Range: - 128to 127[ 2 7 to 2 7 -1] The most significant bit acts as sign bit. "0" means "+ve" number and "1"
The Learning Plarform