You can get the maximum and minimum values of a wrapper class in Java by using the MAX_VALUE and MIN_VALUE constants provided by the wrapper class.
For example, to get the maximum and minimum values of the Integer class, you can use the following code:
int maxInt = Integer.MAX_VALUE;
int minInt = Integer.MIN_VALUE;
System.out.println("Max value of Integer = " + maxInt);
System.out.println("Min value of Integer = " + minInt);
This code will print out the maximum and minimum values of the int primitive type, which are represented by the MAX_VALUE and MIN_VALUE constants of the Integer class.
Similarly, you can get the maximum and minimum values of other wrapper classes such as Double, Long, Float, etc. by using their respective MAX_VALUE and MIN_VALUE constants.