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 major difference between linkedlist and arraylist?
What are new features introduced with java 8 ?
What is class variable java?
Can we extend private class in java?
Why enumeration is faster than iterator?
Java is Pass by Value or Pass by Reference?
what are abstract functions?
What are scalar data types?
Can we define static methods inside interface?
How do you identify independent and dependent variables?
What is class array in java?
How do you check if a number is a perfect square?
What are actual parameters?
What is a concrete classes? Is Java object class is concrete class?
Can a abstract class be declared final?