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
Explain about static imports in java?
What does string intern() method do?
What are inner classes or non static nested classes in java?
State some advantages of java?
Difference between string, string builder, and string buffer?
Does list allow duplicates in java?
How we can generate random numbers in java?
What exactly is java?
Why should we use singleton pattern instead of static class?
How do you call a reference in java?
Which category the java thread do fall in?
What is an empty list in java?
How are this() and super() used with constructors in java programming?
What is a literal coding?
What is java util function?