Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / dhoom
interface A
{
String test();
}
interface B
{
int test();
}
interface AB implements A extends B
{
....
}
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the most important feature of java? What is an interface?
Is constructor inherited?
How do you stop a thread in java?
How to declare objects of a class ?
Explain the importance of finalize() method.
Why destructor is not used in java?
Can an object be null?
How do I get the | symbol on my keyboard?
What is hashmap in java?
Does java support multiple inheritances?
what do you mean by marker interface in java?
What are autoboxing and unboxing? When does it occur?
How does linkedlist work in java?
What do you understand by the term polymorphism?
What is remote method invocation (rmi)?