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
what is function overloading in java?
Can a class extend 2 classes in java?
What are the different types of multitasking?
What is meant by call by reference?
What are the two basic ways in which classes that can be run as threads may be defined?
Is main an identifier?
Explain when we should make an instance variable private.
What is the integer of 16?
How an object is serialized in java?
How many types of memory areas are allocated by jvm?
What language is pass by reference?
What is string data?
Define how objects are stored in java?
What differences exist between iterator and listiterator?
How to reverse string in java?