Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package lab.work14;
- public class Lab_1 {
- public static void main(String[] args) {
- byte b = 123;
- short sh = 12345;
- int i = 123456;
- long l = 1234567890L;
- float f = 12312.123F;
- double d = 121231212.212D;
- char ch = 'c';
- boolean bool = true;
- System.out.println(b+"\n"+sh+"\n"+i+"\n"+l+"\n"+f+"\n"+d+"\n"+ch+"\n"+bool);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement