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 |
How do I get the | symbol on my keyboard?
Difference between the String and StringBuffer classes?
Explain difference between final, finally and finalize?
Is java code slower than native code?
Can java hashmap have duplicate keys?
What is string :: npos?
Can java list contain duplicates?
What is thread life cycle?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
Explain tree set and its features?
Explain java coding standards for methods?
What does += mean in java?