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 / 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 |
Post New Answer View All Answers
Why are lists ordered in java?
Can list be null in java?
What is a get method?
What is core java used for?
Is the empty set a singleton?
Is special character in java?
Does printwriter create a file?
what is the difference between preemptive scheduling and time slicing? : Java thread
What is final keyword in java?
What are the four corner stones of oop?
What is a variable in java?
What are the three types of design patterns?
Explain java code for recursive solution's base case?
What are encapsulation, inheritance and polymorphism?
What is bubble sort in java?