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


Please Help Members By Posting Answers For Below Questions

Is logger a singleton?

530


What do you mean by stack?

650


List the three steps for creating an object for a class?

522


What is the meaning of variables in research?

535


What is a platform?

546






What is internal iteration in java se 8?

633


What are the restrictions imposed on method overriding?

560


What is the indent key?

594


What is type inference in java8?

586


Can we override constructors?

548


Explain the reason behind ending a program with a system.exit(0)?

604


What is udp in java?

537


What is a ?

760


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

1989


How can you read content from file in java?

601