What happens when a main method is declared as private?
Answer Posted / sagar chavan
If the main function is made private,
we can do it but the starting point of project should be changed. By default it is main.
|Is This Answer Correct ?||3 Yes||1 No|
what do you mean by classloader?
What is unsigned char?
What are the three best choices for a development environment?
What is object in java?
What does main method?
why not override thread to make a runnable? : Java thread
What is the purpose of a transient variable?
What is unicode datatype?
What is the main use of generics in java?
What is stringbuffer in java?
What is a substring of a string?
Can we have multiple catch block for a try block?
Can you start a thread twice in Java?
How do you override a variable in java?
Can we declare a class as abstract without having any abstract method?