Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces.
Answer Posted / dhoom
interface A
{
String test();
}
interface B
{
int test();
}
interface AB implements A extends B
{
....
}
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Is namespace same as package in java?
why Java does not support multiple inheritances?
What is %d in printf?
How to split a string in java?
Why synchronization is important?
What is collections framework?
Can we write a class without main method in java?
What is a null point?
Why string is a class?
What is numeric data type?
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
What two classes are used to read data only?
What are java packages?
Why map is used in java?
What is ternary operator in java?