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 are the three parts of a lambda expression? What is the type of lambda expression?
What is a singleton in genetics?
What is the major drawback of internal iteration over external iteration?
Can you have two constructors in java?
How many types of memory areas are allocated by JVM in java?
What is class array in java?
What a static class can contains?
Describe how to implement singleton design pattern in struts.
What is predicate in java?
whatis Home interface and Remoteinterface? with example?
What are the two types of java?
Does .length start 0 java?
What happens to the Exception object after handling an exception?
What are three advantages of using functions?
What is byte code and why is it important to java’s use for internet programming?