Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / b
ONLY ONE INTERFACE CAN BE IMPLEMENTED BY A CLASS
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Can we pass a primitive type by reference in java? How
What is jit compiler ?
What are design patterns and please explain?
Can we sort list in java?
Have you ever used hashtable and dictionary?
How are destructors defined in java?
What is the best way to findout the time/memory consuming process?
How to create an interface?
Is Java a dying language?
What is the difference between length and length() method in java?
What is the size of arraylist in java?
Explain java thread life cycle.
What is the difference between a loader and a compiler?
What is boolean law?
Is int primitive data type?