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
What are the features in java?
What is functional interface in java?
What does the “final” keyword mean in front of a variable? A method? A class?
What is the purpose of tostring() method in java?
What is variable explain?
how is final different from finally and finalize in java?
What is difference between float and double?
How is string stored in java?
What is the memory leak in java?
What is complexity in java?
How to provide security in java
Is java 9 released?
What are the properties of thread?
What is the difference between a synchronized method and a synchronized block?
Is hashset ordered?