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
How many ways can an argument be passed to a subroutine and explain them?
Why vector class is used?
What language is an assembler written in?
Is null or empty java?
Write a program to solve producer consumer problem in java?
Can a class with private constructor be extended?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
Can abstract class have private constructor?
What is the common usage of serialization? What exceptions occur during serialization?
What is default size of arraylist in java?
Why does java not allow multiple public classes in a java file ?
What are the different http methods?
What is a final class ?
Why are generics used?
How to create a fecelet view?