- Java is strongly typed language. This means that every variable must have a declared type. There are eight primitive types in Java:
+ Four of them are integer types.
+ Two are floating-point number types.
+ One is the character type char - used for code units in the Unicode encoding scheme.
+ One is a boolean type for truth values.
- Java has an arbitrary-precision arithmetic package. However, "big numbers", as they are called, are Java object and not a new Java type.
Home
/ Data Types In Java
0 comments:
Post a Comment