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 a loop java?
Is c better than java?
can two class in a code be public??if yes then how??
What is the default initialized value of a boolean type variable?
Explain JPA in Java.
what is session in java?
0 Answers Seventhsense Technologies,
How to create an instance of a class without using "new" operator? Plz help me out properly.Thank u.
Can we use return in constructor?
Is java a virus?
Explain Big-O notation with an example
What is 'finally' method in Exceptions?
What are the restriction imposed on a static method or a static block of code?