Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by classloader?

217


What is unsigned char?

180


What are the three best choices for a development environment?

236


What is object in java?

184


What does main method?

186






why not override thread to make a runnable? : Java thread

192


What is the purpose of a transient variable?

226


What is unicode datatype?

186


What is the main use of generics in java?

172


What is stringbuffer in java?

175


What is a substring of a string?

173


Can we have multiple catch block for a try block?

221


Can you start a thread twice in Java?

243


How do you override a variable in java?

170


Can we declare a class as abstract without having any abstract method?

203