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 topics in core java?
What are strings in physics?
What is the purpose of the return statement?
What is the default execution method in java?
How to make a class or a bean serializable?
What does next mean in java?
Is 0 a prime number?
How does multithreading take place on a computer with a single cpu?
What is Session reduplication and how its done?
What is bigger kb or mb?
Implementations of set interface?
Is an integer an object?
What is difference between static and abstract class?
What is math in java?
What things should be kept in mind while creating your own exceptions in java?