Answer Posted / veerendra
yes,we can declare if it is inner most class, but outer
class is not allowed because java supports inheritance
concept for reusing the properties from super class to sub
class,at that time the super class is private it wont access
inside,only public features we can reuse it, we can access
and execute through out the world, not private with in the
class onle we can access it.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a private class in java?
Explain about the dynamic behavior of core java?
How many bytes is a unicode character?
What is the use of using enum to declare a constant?
What is ternary operator?
What is identifier with example?
What is this keyword in java?
What is methods and methodology?
What is a method vs function?
What is close method? How it's different from Finalize & Dispose?
How do you download stubs from Remote place?
What is the right data type to represent a price in java?
What is the purpose of a transient variable?
Why for each loop is used?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?