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 are parsers? Dom vs sax parser.
What is the difference between int and integer in java?
What is finalize()? Is finalize() similar to a destructor?
what is recursion in java
What is the meaning of course?
Can constructor return value?
How do you identify independent and dependent variables?
How java is similar to c?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
Is alive method in java?
How many decimal places is a double?
How big is a boolean?
What are thread safe functions?
What are instance variables?
Write a program to search a number in the given list of numbers.