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 difference between static class and normal class?
What is ph and buffers?
Explain the difference between map and flatmap stream operation?
How to sort array in descending order in java?
What are the basic concepts of OOPS in java?
What is sortedmap in java?
What is polymorphism and what are the types of it?
Can we define private and protected modifiers for the members in interfaces?
What is java console application?
How do you define a set in java?
What is java jit compilers?
Can this keyword be used to refer static members?
What exactly is java?
What is the meaning of flag day?
Which containers use a flowlayout as their default layout in java programming?