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 |
Why do we need hashset in java?
What is array list in java?
Difference between final and effectively final ?
How we can make copy of a java object?
How can you read an integer value from the keyword when the application is runtime in java? example?
What is object data type?
What do you mean by object?
What is arrays aslist in java?
Difference between object and reference?
Explain Linked HashSet
Explain the difference between Unicast and Multicast objects?
what is polymorphism?