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 is the default value of byte datatype in java?
What is %d in printf?
What happens if main method is not static?
What exactly is methodology?
What will be the default values of all the elements of an array defined as an instance variable?
How do you implement polymorphism in our day to day life?
What is nested interface?
Difference between == and .equals() ?
List some oops concepts in java?
Difference between class#getinstance() and new operator ?
How do I stop concurrentmodificationexception?
Can I use % with real numbers?
What are the benefits of operations in java?
Why pass by reference is not possible in java?
What is time complexity algorithm?