-bit signed two' complement integer long -bit signed two' complement integer float -bit floating-point number (ieee - double -bit floating-point number (ieee - variable declared to have one of these types simply stores value of that typerather than reference to some object integer constantslike or are of type intunless followed immediately by an 'lor ' 'in which case they are of type long floating-point constantslike or are of type doubleunless followed immediately by an 'for ' 'in which case they are of type float we show simple class in code fragment that defines number of base types as local variables for the main method code fragment base class showing example uses of base types