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 |
What is the difference between hashmap and hashtable in java?
What is passing value java?
Difference between java and javascript
How variables are stored in memory?
Does java support multi dimensional arrays ?
Can an interface implement another interface?
What is a java applet? What is an interface?
What is the difference between the program and the process?
How many bits is size_t?
Explain creating threads by extending thread class ?
What are sets in java?
What is a singleton class in Java?