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 the difference between final, finally and finalize()?
Is string serializable in java?
What do you mean by JVM?
What is the Concept of Encapsulation in OOPS
Can an interface have a class?
What is unsigned char?
What is the maximum size of hashmap in java?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What is a website container?
How do you define a variable?
What is the difference between declaration and definition in java?
What is the meaning of flag day?
What do you mean by order of precedence and associativity?
When can we say that threads are not lightweight process in java?
How does hashset work in java?