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 logger a singleton?
What do you mean by stack?
List the three steps for creating an object for a class?
What is the meaning of variables in research?
What is a platform?
What is internal iteration in java se 8?
What are the restrictions imposed on method overriding?
What is the indent key?
What is type inference in java8?
Can we override constructors?
Explain the reason behind ending a program with a system.exit(0)?
What is udp in java?
What is a ?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
How can you read content from file in java?