public class base {
public void method(int i){}
}
public class sub extends base {
//
}
choose all the method which can be added at // from the list
1. int method(int i)
2. public void method(
String a)
3. public void anothermethod(int i)
4.void abstract othermethod(int i)
5.void method(int i)
my ans:2
ans given are:2,3
can anybody explain how option 3 is correct...in that the method name is different..
help
thanx
sherin