Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / nitin gupta
Menita you are absolutely correct!!
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
What are anonymous inner classes?
What is use of super keyword in java?
Explain about assignment statement?
How to store image in arraylist in java?
What is the use of default method in interface in java? Explain
Which of the following is not an isolation level in the JDBC
What are "methods" and "fields"?
What is polymorphism and what are the types of it?
How to access arraylist elements in java?
Can java list contain duplicates?
String class is defined under which package in java?
Does java trim remove newline?
What is difference between identifier and variable?
Can a class extend 2 classes in java?
What is initial size of arraylist in java?