long > int > short > byte
This commit is contained in:
parent
d29f587353
commit
b59fe4b9a1
2 changed files with 6 additions and 0 deletions
Binary file not shown.
|
@ -1,5 +1,11 @@
|
|||
public class Testcode {
|
||||
public static void main(String[] args) {
|
||||
|
||||
int a = 1, b = 2, c = 3, d = 4, e = 5, f = 6, g = 7, h = 8;
|
||||
int sum = a + b + c + d + e + f + g + h;
|
||||
|
||||
System.out.println(sum);
|
||||
byte x = 127;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue