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
List some important characteristics on jre
What data type is string java?
Does java linked list allow duplicates?
What is multi level inheritance in java?
What is the difference between procedural and object-oriented programs?
Can we define static methods inside interface?
How can constructor chaining be done by using the super keyword?
When super keyword is used?
What are basic keywords?
Is there a sort function in java?
What is hash in java?
Why do we need wrapper classes?
What is the difference between the direct buffer and non-direct buffer in java?
Is hashmap thread safe?
Can we have static methods in an interface?