Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / nitin
Ramesh,
I am agree with the technical boudries which you have
talked about. But this is a real problem and have to cope
with it.
We can not change the interfaces at all, but there should
be a way to achieve the goal, may be using inner class or
so.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is main method?
Can a class have multiple subclasses?
Is set ordered in java?
What is a numeric literal?
What is meant by collection in java?
What is static block?
How do you declare an array that will hold more than 64KB of data?
Is zero a positive integer?
Mention some interfaces implemented by linked list in java.
What is variable length arguments in java?
How arrays are stored in memory in java?
What methods are used in Servlet?Applet communication?
What is serialization in java?
What is the collections api?
How do you remove spaces in java?