Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / nitin gupta
Menita you are absolutely correct!!
Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
Explain the importance of import keyword in java?
What are the restriction imposed on a static method or a static block of code?
What is array and arraylist in java?
Can a java program have 2 main methods?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
When is the finalize() called? What is the purpose of finalization?
Can static methods be inherited?
What is the meaning of flag day?
Is vector thread safe in java?
What does the “static” keyword mean?
Which is better stringbuilder or stringbuffer?
What is a for loop in java?
What is substring 1 in java?
Is arraylist an object in java?
Explain about the select method with an example?