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 the main method java?
Difference between java and javascript
what is the difference between multitasking and multithreading?
What are operators and its types?
Which are different kinds of source code?
how copy the hashmap object into arraylist at java program?
How big is a gigabyte?
What are virtual methods?
What is java util?
What are the basic control structures?
What does those terms actually mean included in the j.d.k i.6?
what is meant by package in java?