Q:

How to print max and min value? 

Is it possible to print the maximum and minimum value of integer data type?  If yes then how to do that? 
Thanks in advance. 

A:

Yes it is possible.  Use Integer. MAX_VALUE and Integer. MIN_VALUE.  You will get the max and min value. 

A:

Simply reference oracle docs to see more related variables and methods
http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html

