An inner class can actually be a subclass of the outer class?

a. true
b. false

Answers were Sorted based on User's Feedback



An inner class can actually be a subclass of the outer class? a. true b. false..

Answer / guest

true

Is This Answer Correct ?    7 Yes 2 No

An inner class can actually be a subclass of the outer class? a. true b. false..

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

Post New Answer

More Core Java Interview Questions

Enlist few advantages of inheritance?

0 Answers  


What does substring mean?

0 Answers  


What is jit compiler ?

0 Answers  


To the class members how can we provide security?

1 Answers   Aspire,


When object is created and destroyed?

0 Answers  






Why are parameters used in functions?

0 Answers  


How use .contains in java?

0 Answers  


Explain about wait() method?

0 Answers  


When is an object in the mean to garbage collection?

3 Answers  


what is difference between signed & unsigned char?

2 Answers  


Is passing by reference faster?

0 Answers  


What is a marker interface?

0 Answers  


Categories