Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / chandan kumar
Chandan
test in A clashes with test in B;attempting to use
incompatible type
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Is linkedlist thread safe in java?
What is foreach loop in java?
What is the difference between final, finally and finalize()?
Which one will take more memory: an int or integer?
Is arraylist dynamic in java?
What are the types of relation?
What are the methods used to implement for the key object in the hash map?
What are the various access specifiers in java?
What are methods and how are they defined?
What is the significance of java packages?
What is regex used for?
In the below example, what will be the output?
What does split function do in java?
What does int argc char * argv [] mean?
Is call by reference possible in java?