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 thread in Java ?
What is a 16 bit word?
What is the public field modifier?
Is array primitive data type in java?
What does i ++ mean in Java?
What is the default access specifier for variables and methods of a class?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
What is the difference between array list and vector in java?
What does I ++ mean?
What is parsing a sentence?
Why set do not allow duplicates in java?
Is string is a class in java?
What exactly is methodology?
Can we override singleton class?
How do I know if java is installed?