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 a marker interface?
What is the use of StringTokenizer class?
Is arraylist dynamic in java?
What is the maximum size of array in java?
What is slash r?
Explain what do you mean by functional overloading in java?
What is hashmap in java?
List the interfaces which extends collection interface?
What is the purpose of javac exe?
Does java support function overloading, pointers, structures, unions or linked lists?
What does sprintf return?
What is parseint?
Do I need to import java.lang package any time? Why?
What are implicit objects in java?
What is intern method in java?