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 is jee6?
Do I need java on my computer?
What are the core java topics?
What does null mean in java?
How to create a base64 decoder in java8?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
What are the five major types of reference sources?
What is the difference between static method and instance method in Java?
Why is it called boolean?
Explain list interface?
What is the most important feature of java? What is an interface?
Why main method is static in java?
Describe the process as to how substring() methodology mechanisms in java.
Explain the use of volatile field modifier?
What is += mean in java?