Overloading VS Overriding
Last updated
Last updated
//no exception. String is subclass of Object
public method(String s){...}
public method(Object o){...}// no exception
public method(Sting s){...}
public method(Object o){...}
public method(Integer i){...}null????