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 basic syntax?
What is an inner class in java?
Write a java program to generate fibonacci series ?
Which is bigger double or float?
In java, what is the difference between method overloading and method overriding?
What restrictions are placed on method overriding?
What is the difference between compile-time polymorphism and runtime polymorphism?
Do you need to import math in java?
What is port number in java?
Can we declare the static variables and methods in an abstract class?
How many types of methods are there in java?
What is boolean strategy?
How is a structure different from array ?
What is parsing a string?
How do you check if an arraylist is not empty?