Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / akhil agarwal
Interface A
{
string test();
}
Interface B
{
int test();
}
class AB implements A,B
{
string test();
int test();
}
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
v-model life cycle
Can we pass a primitive type by reference in java? How
What is the final access modifier in java?
What is the default execution method in java?
What is meant by collection in java?
What happens when I use / and % with a negative numerator?
Define jre i.e. Java runtime environment?
What does snprintf return?
What is data and its types?
What does method mean?
What is the java virtual machine?
How do you represent a space in regex java?
What does opcode mean?
What is the size of string?
What is :: operator in java 8?