Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / ganesh
yes , we cant implement like this.same as above answer.I
tested it .
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What mechanism does java use for memory management?
What happens if a constructor is declared private?
What is the purpose of static keyword in java?
Why do we use return statement?
What is the difference between path and classpath variables?
Why arraylist is used in java?
Is 0 an even number?
Define a package.
What is the difference between superclass and subclass?
Does set allows null in java?
What about member inner classes?
What is hashing principle in java?
Can you explain the meaning of aggregation and composition
What is collections framework?
When should I use singleton?