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
What do you mean by checked exceptions?
Explain the importance of import keyword in java?
Is arraylist ordered?
Are primitives objects?
What is the difference between sleep and wait in java?
What are the types of collections in java?
What is an exception in java?
What are the fileinputstream and fileoutputstream?
What is the final keyword denotes?
Are arrays passed by reference in java?
Can you inherit from an abstract class java?
Does constructor be static?
What is string pool in java?
What does main method?
Can set contain duplicates?