Soniaa Agarwal wrote:
Thanks Henry for the prompt reply but I am still not getting it. How come
methods set(T) and set(Object). are overloaded methods.
Why does the following work :
class superc<T>{
void set(T arg){}
}
class subc extends superc<Number>{
void set(Number aa){}
}