Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / chandra
we can not do with same method name. i tried it in jdk1.5,
not able to compile.
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What are the different access modifiers available in java?
Explain constructors and types of constructors in java.
What are the main uses of the super keyword?
What is substring in java?
How do you add an element to a set in java?
Is java a software?
what is interface in java? Explain
Can you access non static variable in static context?
What are the benefits of java?
Why java is not 100% object-oriented?
what is nested class in java?
What is the purpose of the runtime class in java programming?
How do you compare two objects?
What is the purpose of using javap?
What is length in java?