Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Hello {
- public static void main(String[] args) {
- byte byteV = 127;
- short shortV = Short.MAX_VALUE;
- int intV = Integer.MAX_VALUE;
- System.out.println("Short: " + shortV + ", Integer: " + intV);
- long longV = (10 * byteV) + shortV + intV;
- System.out.println(longV);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement