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
What is a loop java?
Is void a keyword in java?
What is role of void keyword in declaring functions?
What is the scope or life time of instance variables?
What is hashmap and map?
What are the restrictions that are applied to the java static methods?
Is array serializable java?
What is difference between iterator access and index access?
What does a method signature consist of?
How do you implement tree mirroring in java?
what is use of functional interface in java 8?
Explain the significance of listiterator.
Tell us something about set interface.
Why static functions are used?
Can we access instance variables within static methods ?