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 the difference between heap memory and stack memory?
How can you handle java exceptions?
What does the exclamation mark mean in java?
What do you mean by default constructor in java?
What is application system?
Why java does not support pointers?
Is cout buffered?
What is the different between get and post?
Why java strings are immutable in nature?
Which package has light weight components in java programming?
How does a for loop work?
Why we cannot override static method?
What are wrapper classes in java?
Does treeset allow null in java?
What are the elements of java?