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
How strings are created in java?
What is use of inner class in java?
Can we have this () and super () together?
How big is a gigabyte?
Can a static block throw exception?
What is a boolean flag in java?
What are the application of stack?
Explain the difference between association, aggregation and inheritance relationships.
what do you mean by classloader in java?
What is the properties class?
Differece between class and generic class?
What are the rules for naming an array?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What is the vector class in java programming?
Differentiate jar and war files?