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
how to deploy apache tomcat server to weblogic server in java
What is break and continue statement?
What are runtime exceptions?
What is command line argument
What is thread synchronization in java?
What is blank final variable?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
Is java a utf 8 string?
what is the constructor and how many types of constructors are used in java?
What is literal example?
Can we catch more than one exception in single catch block?
What is Java Shutdown Hook?
What is concurrent hashmap and its features?
what do you mean by marker interface in java?