Hi,
This is from the Abhillaash Quiz
Question 26.
public XXXX extends something1, something2
1.XXX should be an interface,something1 and something2 need not, for the expression to be legal
2.XXX should be a class, something1 and something2 must be interfaces for the expression to be legal.
3.XXX, something1 and something2 must be interfaces for the expression to be legal.
4.The above statement is alway illegal in
Java as multiple inheritance is not supported.
The answer given is 3, But I doubt it is wrong...
Any explainations ?
Thx