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
What is the use of accept () method in java?
How transient variable is different from volatile variable?
What are internal variables?
Is it safe to install java on my computer?
Is integer a class?
What is a numeric string?
Is java jre still free?
What are parameters in a method?
Give few examples of final classes defined in Java API?
Differences between external iteration and internal iteration?
Can a class be defined inside an interface?
What is queue in java?
What is the range of the short type?
How to display arraylist values in java?
What are the drawbacks of reflection?