1. Java Type SystemWhat is type in Java?Set of Values with a set of Operations that can beapplied to the values.Example :int type - Set of values { [-2^31] to [+2^31-1])}Operations…