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 / 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


Please Help Members By Posting Answers For Below Questions

Why are global variables used?

174


What is the difference between array and array list in java?

232


State one difference between a template class and class template.

224


How do you use compareto method?

181


What is the difference between replace and replace all?

163






Which is a valid identifier?

191


what are the high-level thread states? : Java thread

198


I want to store more than 10 objects in a remote server? Which methodology will follow?

2254


Which sorting is best in java?

185


What is the use of flag?

188


Does java allow default arguments?

237


What kind of variables a class can consist of?

210


What does java ide mean?

264


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

1335


What is low level language in computer?

155