class{
...
...
interface myinterface{
...
...
}
abstract class{
..
..
}
...
..
..
}
is this possible to write "Interface and/ or Abstract class
inside a class ?
if possible whcich one is possible
is only interface?
is only abstract?
Answer Posted / karunakaran
I have tried it.It is working.We can have abstract class
and/or interface inside a class.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Can you inherit from an abstract class java?
Explain treeset?
What are the ways to instantiate the class class?
Which is easier netbeans or eclipse?
What is command line argument
Explain the scope of a variable.
can I implement my own start() method? : Java thread
What is java ceil?
Do I need java for windows 10?
What is the purpose of default constructor?
What is the base class in java from which all classes are derived?
How to display names of all components in a Container?
What do you mean by pointer value and address?
Are arrays passed by reference in java?
What is arguments in java?