What happens when a main method is declared as private?
Answer Posted / ashish
it compile easily... but it will give an error at the time
of execution .....
Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
Can you instantiate the math class in Java?
Is there any difference between nested classes and inner classes?
What is a singleton factory?
What exceptions occur during serialization?
What are three ways in which a thread can enter the waiting state in java programming?
What are inbuilt functions?
Can bool be null?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
Is constructor inherited?
Do extraneous variables affect validity?
What happens if we override private method?
What is array size in java?
What is the public field modifier?
Why is the type for real numbers called double?
What does int [] mean in java?