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 javac_g?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
does java support pointers?
What are the difference between composition and inheritance in java?
Can you give names of Container classes?
Can we define package statement after import statement in java?
What are the different ways of creating thread?
What is entry in java?
What is difference between static variable and global variable?
When is the finally clause of a try-catch-finally statement executed?
Explain working of call by reference function invoking.
What is an array in java?
Are there structures in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is use of super keyword?