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 equals method and ==
17 Answers IBM, Professional Access, TCS,
Why should we create an object? what is a need of it? Apart from access members of a class i want what is a need of object what does it contain?? In normal class to access any member of thaht class we create object where as for static class we access its members using class name. what is a difference between them... thanks in advance.
Can list be null in java?
Tell me how many ways are there to initialise an integer with a constant.
What is ternary operator?
What is the importance in context in JDBC connection pools?
How can the checkbox class be used to create a radio button?
What is the middleware?
System.out & System.in are final static data member of System class but we can change there reference through setOut() & setIn() method how...
What does g mean in regex?
What is the purpose of javac exe?
explain the life cycle of thread?
10 Answers CTS, NIIT, TCS,