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 / 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 |
Post New Answer View All Answers
What is tostring () method?
What are the different access modifiers available in java?
What is garbage collector?
What is difference between checked and unchecked exception in java?
What is tochararray in java?
What is a class variable?
What do you mean by stream pipelining in java 8?
What things should be kept in mind while creating your own exceptions in java?
Why java uses the concept of the string literal?
Explain the difference between treeset and treemap in java?
What is the access scope of a protected method?
How is java created?
Explain numeric promotion?
how do I create a runnable with inheritance? : Java thread
What is the use of static class?