Skip to content
CampusEduX

Integer Type Ranges

Easyjava
Learn the Concept: Data Types

Print the smallest and largest value that each of byte, short and int can hold, using Java's built-in constants.

Input: none.

Output: three lines:

byte <min> <max>
short <min> <max>
int <min> <max>

Related Problems

Input (stdin)

Output

Run your code to see output here...