There are also built-in classes for each of the fundamental types, such as Integer, Float , etc. All objects in Java are handled via reference , but there are no explicit pointers . An object reference must be initialized via new and a constructor of the object's class type, which construct's an object on the heap. Thus, there are no class destructor functions in Java. It may be used as, Math.
String is a built-in type.
An array declaration statement declares an array of objects or an array of a fundamental type. The array itself is an object which has a length member that may be queried via an accessor method. Java does run-time array bounds checking. Java initializes numeric values to zero. Java has a wonderful documentation system called JavaDoc that creates HTML pages of class documentation.