Interface A {
String test();
}

Interface B {
int test();
}

Create a class AB which must implements both A & B
interfaces.

Answer Posted / dhoom

interface A
{
String test();
}
interface B
{
int test();
}
interface AB implements A extends B
{
....
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the supported platforms by java programming language?

573


What is the tradeoff between using an unordered array versus an ordered array?

668


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

1381


Define iterator and methods in iterator?

548


Why do we need autoboxing in java?

525






How to do encapsulation in java?

578


What is variable declaration and definition?

549


What is append in java?

633


Is an empty arraylist null?

605


What is the purpose of abstract class?

531


Give example to differentiate between call by value and call by reference.

597


What are keywords in java?

586


What is overriding in java?

529


why Java does not support multiple inheritances?

708


Can we able to pass objects as an arguments in java?

539