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 overloading and overriding in java?
What is the major advantage of external iteration over internal iteration?
Give an example of call be reference significance.
What are the legal operands of the instanceof operator?
What is space character in java?
What is module with example?
Which is fastest collection in java?
Explain the difference between collection api and stream api in java8?
design an lru cache in java?
What is the difference between multitasking and multithreading in Java
What is an example of character?
What is the purpose of static methods and static variables?
How are the elements of a gridbaglayout organized?
Can I overload to string method
What is cr keyboard?