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 does the string method compareto () do?
Can you access the private method from outside the class?
Is void a return type?
Mention some features of java?
What will happen if static modifier is removed from the signature of the main method?
What is the program development process?
What is memory leak and how does java handle it?
What is double checked locking in singleton?
Can we declare main () method as non static?
Can you instantiate the math class in Java?
Can an integer be a string?
How static variable work in java?
Explain about version control?
How do you calculate roots in java?
What is a return in java?