Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / niltarlekar
public class AB implements A,B
{
public static void main(String args[])
{
}
}
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What are annotations in java?
What is difference between iterator access and index access?
what is recursion in java
what is ststic with example
Why chararray() is preferred over string to store the password?
What is the current version of java?
How many types of java are there?
In how many ways we can do synchronization in java?
What are wrapped classes in java programming?
what is a thread pool in java and why is it used?
Tell me about your ability to work under pressure
What is a line separator in java?
How many types of flags are there?
Distinguish between a predicate and a function?
How is Object Oriented Programming different from Procedure Oriented Programming?