An inner class can actually be a subclass of the outer class?
a. true
b. false
Answer Posted / 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 View All Answers
What is array command?
What ide should I use for java?
Which sorting is best in java?
Can we convert stringbuffer to string?
What is internal variable?
Is Constructor possible in abstract class in java ?
How much ram can a 64 bit processor theoretically?
what is the difference between thread and runnable types? : Java thread
What is singleton math?
What are the 8 primitive data types in java?
What's the purpose of using break in each case of switch statement?
Can we declare register variable as global?
What is the difference between static (class) method and instance method?
Which sorting is used in arrays sort in java?
State one difference between a template class and class template.