Answer Posted / eknath wagadre
private and static keyword in java we can't use those
keyword any of the outer block. we can use those keyword
only and only inside of the block.(Block i.e Class )
NOTE: Outer class can't be private but inner class can be
private(bcz of this is the part of the outer class and also
inner class can be static.)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Will the jvm load the package twice at runtime?
What is arrays sort in java?
What is rule of accessibility in java?
How does the garbage collector works in java?
Why do we need singleton class?
What is externalizable interface?
What is the use of volatile in java?
What is return code?
What are advantages of using Java?s layout managers than windowing systems?
What is a get method?
How use .contains in java?
Which is best ide for java?
Why charat is used in java?
Are maps ordered java?
What an i/o filter?