In the below code-snipet, what is type of method "meth" from class B?
is it Overloading
, Overriding
, method hiding
, or independant method
?
class A{
public void meth(){
//some implementation
}
}
class B extends A{
public void meth(int var){
//some other implementation
}
}
Aucun commentaire:
Enregistrer un commentaire