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
What is object-oriented paradigm?
Describe what happens when an object is created in java ?
Does string is thread-safe in java?
How do you reverse a list?
When should you use arraylist and when should you use linkedlist?
What are the java ide's? Explain
What is a return in java?
What is command line argument in java?
What exceptions occur during serialization?
What is difference between an object and a class?
What is anagram in java?
What is singleton class example?
How do you create an array in java?
What is the implementation of destroy method in java. Is it native or java code?
how to write a program for sending mails between client and server