Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / prakash
CLASS AB:A,B
{
String test()
{
}
int test()
{
}
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can we clone singleton object?
Is array dynamic in java?
What is array class in java?
Can array grow dynamically in java?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
Why can't we override private static methods?
what is meant by abstract class?
what is session in java?
Can we write any code after throw statement?
What do you mean by buffering?
What are some characteristics of interference class?
What is a pattern what is an anti pattern?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
what are the methods in object?
How hashmap works in java?