Sobrecarga de método em java
public class Multi{ //Super class
public void multi(String name){ //String parameter
………………
}
}
Public class Multiplication extends Multi(){
Public void multi(){//No Parameter
………..
}
Public void multi(int x){ //integer parameter
}
Public static void main(String args[]){
Multiplication multiplication = new Multiplication();
multiplication.multi();
}
}
Outrageous Ostrich