Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / ganesh
yes , we cant implement like this.same as above answer.I
tested it .
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What are variable names?
Similarity and difference between static block and static method ?
Can we make a constructor final?
Is null an object in java?
What does g mean in regex?
Which types of exceptions are caught at compile time?
Define packages in java?
What is assembly language?
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
Can variables be used in java without initialization?
What is regex used for?
What is arrays aslist in java?
What is a private class in java?
What isan abstract class and when do you use it?
What is a condition in programming?