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 is the output of the below java program?
Why null value is used in string?
What do you mean by inner class in java?
What are the features of junit?
Explain the term virtual machine?
Explain java coding standards for constants?
What are the difference between composition and inheritance in java?
What is the preferred size of a component in java programming?
What is enhanced loop in java?
What are packages in java?
What are controls and their different types in awt?
what is mutual exclusion? : Java thread
How do you use wildcards?
Difference between overriding and overloading in java?
How do you test a method for an exception using junit?