Answer Posted / sankesh sinha
yes it occur when class is inner, top level class not be
private bcoz jvm will not able to compile.
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What is command line used for?
What is javac used for?
What is meant by overloading?
Name few java.lang classes introduced with java 8 ?
How do constructors use this() and super()?
Can we execute a program without main?
What is thread pool in java with example?
How does varargs work in java?
Can we override compareto method?
What is meant by data hiding/encapsulation?
What is vector capacity in java?
What is callablestatement? How you can call stored procedure to pass in parameter?
What is abstract class? Explain
What is equlas() and hashcode() contract in java? Where does it used?
Which collection is thread safe in java?