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?
Answers were Sorted based on User's Feedback
Answer / karunakaran
I have tried it.It is working.We can have abstract class
and/or interface inside a class.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / 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 |
What is concurrent hashmap and its features?
How to read and write image from a file ?
What is the root class for all Java classes?
What is defined as false sharing in the context of multithreading?
Explain cookies?
Difference between array and arraylist.
23 Answers Arise Solution, Banca Sella, iFocus, NIC, Sai Softech, Solartis, TCS, Verizon,
how many design pattern r there? and wht design pattern u use and why ?
Differentiate constructor and a method and how are it be used?
how to print the below in java? * * * * * * * * *
Does google use java?
What is the symbol for space?
What are the files generated after using IDL to java compiler?