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 full form of java
Is boolean a wrapper class in java?
Can a class extend abstract class or interface? why
What is the main purpose of java?
What are the new features in java 8?
What are the allowed, non-Unicode letter characters that can be used as the first character of an identifier?
What is a instance variable in java?
What is a ?
What are the legal operands of the instanceof operator?
What are checked exceptions?
Name the package that always imported by default?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?