Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / sandeep vudutala
interface A
{
String test();
}
interface B extends interface A
{
int test();
}
public Class AB implements B
{
public String test()
{
}
public int test()
{
}
}
| Is This Answer Correct ? | 5 Yes | 23 No |
Post New Answer View All Answers
Similarity and difference between static block and static method ?
What are different exception types exceptions available in java ?
Explain about sets?
how to convert Java project into Maven ?
Why are data types important?
What is gui programming?
Why is the type for real numbers called double?
Is there any sort function in java?
What is procedure overloading?
What is command line used for?
What differences exist between iterator and listiterator?
Why are lists ordered in java?
What is the integer of 16?
What are the advantages of java?
Is call by reference possible in java?