Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / prakash
CLASS AB:A,B
{
String test()
{
}
int test()
{
}
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are java annotations?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
What are conditionals and its types?
List some oops concepts in java?
What is the difference between assignment and initialization?
What do you understand by the term singleton?
Are maps ordered java?
What does += mean coding?
How many types of constructors are used in java?
Write a factorial program using recursion in java?
What is initial size of arraylist in java?
What are the two types of java programming?
What are the different types of collections in java?
Why destructor is not used in java?