作者:
uopsdod (pcman)
2017-02-15 19:12:21public class Prac extends Test2{
public static void go(Long n){
System.out.println("Long ");
}
public static void go(Short n){
System.out.println("Short ");
}
public static void go(int n){
System.out.println("int ");
}
public static void main(String[] args) throws IOException{
short y = 6;
long z = 7;
go(y);
go(z);
}
}