Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / nitin gupta
Menita you are absolutely correct!!
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
In java, how many ways you can take input from the console?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
what is method reference in java 8?
explain autoboxing in java?
What is static and final keyword in java?
How to sort double array in java?
Can private method static?
What restrictions are placed on method overriding in java programming?
Difference between class#getinstance() and new operator ?
What is use of a abstract variable?
What does sizeof return?
Is it necessary for the port addresses to be unique? Explain with reason.
What do you understand by garbage collection in Java? Can it be forced to run?
What is thread safe in java?
What is append in java?