Mega Code Archive

 
Categories / Java Tutorial / Data Type
 

Min and Max values of datatype short

public class Main {     public static void main(String[] args) {         System.out.println(Short.MIN_VALUE);         System.out.println(Short.MAX_VALUE);     } } /* -32768 32767 */