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 special character in java?
Why is serialization required?
describe synchronization in respect to multithreading? : Java thread
What is use of set in java?
Why set is used in java?
How do you implement tree mirroring in java?
What is the synonym of string?
What is the independent variable in an experiment?
How do you override a method?
How can we access some class in another class in java?
If we don’t want some of the fields not to serialize how to do that?
Is singleton class thread safe?
What is a java applet? What is an interface?
how to create multithreaded program? Explain different ways of using thread? : Java thread
Is void a data type?