An inner class can actually be a subclass of the outer class?

a. true
b. false

Answer Posted / mool shankar shukla

inner class is a class within class. and sub class is a class which inherits method or methods from super class.

example of sub class...........
class a
{}
class b extends a
{}

here b is sub class of a.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of accept () method in java?

604


How transient variable is different from volatile variable?

554


What are internal variables?

547


Is it safe to install java on my computer?

534


Is integer a class?

563






What is a numeric string?

559


Is java jre still free?

523


What are parameters in a method?

581


Give few examples of final classes defined in Java API?

698


Differences between external iteration and internal iteration?

570


Can a class be defined inside an interface?

557


What is queue in java?

552


What is the range of the short type?

575


How to display arraylist values in java?

484


What are the drawbacks of reflection?

557