Please quote your sources for better readability..
which three are valid code fragments to insert into class C ?
1.
public void add(C c)
{
c.getValue();
}
2.
public void add(B b)
{
b.getValue();
}
3. public void add(A a)
{
a.getValue();
}
4.
public void add(A a, B b)
{
a.getValue();
}
5.
public void add(C c1, C c2)
{
c1.getValue();
}
again this question is also not clear to me that how to select particular answer?