Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / prakash
CLASS AB:A,B
{
String test()
{
}
int test()
{
}
}
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can we declare a constructor as final?
Is char * a string?
What is split return?
How many types of java are there?
Can we overload the methods by making them static?
What is visibility mode?
What are JVM.JRE, J2EE, JNI?
Why is singleton not thread safe?
Can we print null in java?
What is null in java?
What is a flag value?
What is a control variable example?
what is static import in java? Explain
What is data type example?
Define packages in java?