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 |
How can we make string upper case or lower case?
Is assembly language a low level language?
Where to store local variables?
What is a line break?
What is the difference between Integer and int?
"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)
why string is not taking as primitive datatypes but we r taking it as a class? why explain it?
What is an example of a boolean?
In how many ways we can create threads in java?
Why declare Main() method as a static in java ?
Write a java program to check if a number is prime or not?
To set the position and size of a component, which methods are used?