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


Please Help Members By Posting Answers For Below Questions

How do you join strings in java?

510


What are the 5 types of research methods?

579


What is the purpose of void?

528


Can we have more than one package statement in the source file?

632


What are the 2 types of java programs?

558






What is the escape character in java?

502


What is immutable class in java?

506


What is sizeof () operator?

564


What is class variable java?

576


What is backdrop?

587


What is a short in java?

493


Define an abstract class with reference to java.

566


What is type conversion in java?

567


What is passing by reference in java?

533


What is difference overloading and overriding?

571