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
what is heap memory?
How can you set the applet size?
What is the main purpose of serialization in java?
which pattern is default in scanner package?
What are the advantages of java over C++?
Where will it be used?
How many types of keywords are there?
How to access arraylist elements in java?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
what is comparable and comparator interface?
What is a numeric format?
What is meant by javabeans?
What is charat java?
Which collection is thread safe in java?
What is the program compilation process?