//重载3个方法并调用
public class Oveload {
public static void main(String[] args) {
Oveload O1=new Oveload();
O1.mOL(2);
O1.mOL(2 , 3);
O1.mOL("重载mOL")
public void mOL(int i){
System.out.println(i * i * i);
}
public void mOL(int x , int y){
System.out.println(x * y);
}
public void mOL(String s) {
System.out.println(s);
}
}
}