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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ranganathkini
Yes it is possible to write nested interfaces/abstract
classes inside another class.
Hope it is possible! :-)
Is This Answer Correct ? | 12 Yes | 1 No |
Define Compiling?
What is sortedmap in java?
What is udp in java?
What are the classes of java?
what is default layout of JFrame class?
Why does it take so much time to access an applet having swing components the first time?
Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?
explain about jre and jvm
Difference between Array and vector?
What are the differences between this and super keyword?
What is contractor means and methods?
What is light weight component?