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
What is another word for methodology?
What is array class in java?
What are the high-level thread states in java programming?
Explain java code for recursive solution's base case?
How do you remove duplicates in java?
What is a java list?
what is ststic with example
Why inputstreamreader is used in java?
Can we override the static method?
What are the advantages of exception handling in java?
What is heterogeneous in java?
What is consumer in java?
List some oops concepts in java?
Why is singleton not thread safe?
How to create a fecelet view?