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
How do you reverse a string in java without using string buffer?
What is the difference between an interface and an abstract class?
How do you identify if jvm is 32-bit or 64-bit from java program?
What’s meant by anonymous class?
What do you mean by stream pipelining in java 8?
When is the finalize() called?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
Is java an open source?
How can we create an immutable class in java?
What is are packages?
What do you mean by an object in java?
what is recursion in java
what is the purpose of "virtual"?
What are the string methods in java?
Explain treeset?