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 a consumer in java?
What are the methods of object class ?
What is a locale?
What flag up means?
Is string is a data type?
Can you override private or static method in java?
What is thread life cycle in java?
Does treeset use compareto?
What is the use of jtable?
Can you call a method on a null object?
Which are the two subclasses under exception class?
What are the pillars of java?
Why java is platform independent? Explain.
Write a program in java to find the maximum and minimum value node from a circular linked list.
In the below example, what will be the output?