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 a local, member and a class variable?
What is the use of a conditional inclusion statement in Java ?
what is meant by abstract class?
Can static method access instance variables ?
Write a program in java to establish a connection between client and server?
What is merge sort in java?
How will you communicate between two applets?
How many boolean functions are there?
Why do we need strings in java?
What is boolean example?
What is constant in programming?
Explain about version control?
What is the difference between @before and @beforeclass annotation?
What is a linkedhashmap java?
What is the method to expand and collapse nodes in a jtree?