1 2 3 4 5 6 7 8 9 10
public class Task1 { public static void main(String[] args) { int x; short y = 8; long z; x = y; z = y; } }