Interview Question | Selenium Forum
M
Posted on 03/05/2016
Parent Class method

public void add (p1,p2)

public int add(p1,p2)


child class

abc a = new abc

a.add();


which add method will be called ?

M
Replied on 03/05/2016

i'm not able to understand. send the entire.


M
Replied on 04/05/2016

i believe, it will give compile time error.