What happens when a main method is declared as private?
Answer Posted / vani
Nothing Happen.
Code compiles properly and executes properly.
Is This Answer Correct ? | 5 Yes | 76 No |
Post New Answer View All Answers
how is final different from finally and finalize in java?
What is the properties class in java programming?
What are synchronized blocks in java?
How can I debug the Java security exceptions and AccessControlExceptions?
How can we make copy of a java object?
What do you mean by hashing?
What is string substring?
What is the difference between multitasking and multithreading in Java
What is the final access modifier in java?
What is meant by class loader? How many types are there?
What is the concatenation operator in java?
What are the ways in which a thread can enter the waiting state?
What is string length in java?
What does jre stand for?
How hashmap works in java?