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
How to reverse string in java?
What are different types of inner classes ?
What purpose do the keywords final, finally, and finalize fulfill?
Do you know why doesn't the java library use a randomized version of quicksort?
Can a final variable be null?
What is the largest number a double can hold?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
Does java support multiple inheritances?
What is the difference between static binding and dynamic binding?
What are constants and how to create constants in java?
What is contractor means and methods?
What is a null class?
What is not object oriented programming?
What are the advantages of autoboxing?
Which number is denoted by leading zero in java?