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 |
what is session in java?
0 Answers Seventhsense Technologies,
Are arrays immutable in java?
What is the USE of Null interfaces ??...if thers nothing inside these interfaces how are they used and WHy are they used ???? No 1 has given a proper description yet
What are design patterns and please explain?
Why string objects are immutable in java?
What is Session reduplication and how its done?
Describe string intern() methodology
What must a class do to implement an interface in java programming?
Explain the significance of class loaders in bootstrap?
Is static a singleton?
What are the Main functions of Java?
0 Answers Akamai Technologies,
Does java support multiple inheritances?