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 is boolean strategy?
What are different types of control structures?
When do we use synchronized blocks and advantages of using synchronized blocks?
Does anyone still use java?
How do you implement singleton class?
Explain inner classes ?
What is finalize() function in java?
How can we find the sum of two linked lists using stack in java?
What is the final class modifier?
What is sorting algorithm in java?
When will you define a method as static in Java?
What two classes are used to read data only?
What do negative exponents mean?
What was java originally called?
Is java a compiler?