Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / b
ONLY ONE INTERFACE CAN BE IMPLEMENTED BY A CLASS
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How do you declare a destructor in java?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What do you understand by copy constructor in java?
How to read and write image from a file ?
Is empty set an element of empty set?
Does windows 10 need java?
What is the concatenation operator in java?
What is method overloading in JAVA? Why is it not present in C ?
What is a databasemetadata?
How to create a fecelet view?
What is tree node in java?
What is difference between array and vector?
What is the difference between throw and throws keywords?
Why java is not 100% object-oriented?
What is tostring () method?