javalangInteger
javalangInteger is not the official name of a Java class. In the Java API, the wrapper for the primitive int is java.lang.Integer. This article describes that class and its common uses, noting that a term like javalangInteger often refers to java.lang.Integer by shorthand or misspelling.
Integer is a final class that extends Number and implements Comparable<Integer>. It encapsulates a 32-bit signed
Constructors and factory methods include public Integer(int value) (deprecated), public Integer(String s) (may throw NumberFormatException), and
Key constants are MAX_VALUE, MIN_VALUE, SIZE (32 bits), and BYTES (4). Important instance and static methods include
Usage notes: Java programs frequently rely on Integer for object wrappers in collections and APIs that require