An inner class can actually be a subclass of the outer class?
a. true
b. false
Answers were Sorted based on User's Feedback
Answer / 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 |
Enlist few advantages of inheritance?
What does substring mean?
What is jit compiler ?
To the class members how can we provide security?
When object is created and destroyed?
Why are parameters used in functions?
How use .contains in java?
Explain about wait() method?
When is an object in the mean to garbage collection?
what is difference between signed & unsigned char?
Is passing by reference faster?
What is a marker interface?