Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What happens when a main method is declared as private?

Answer Posted / thiru

The default signature should not be altered. If any changes, at run time "Class xxx does not have main method" exception will be thrown. But compilation will not give any exception.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between final and effectively final ? Why is effectively final even required ?

1052


Which is a valid identifier?

1298


What is mysql driver class name?

1206


Can we sort hashset in java?

1133


Is java pass by value or pass by reference?

1033


What is the difference between multitasking and multithreading in Java

1237


Can an unreferenced object be referenced again?

1246


How to set the permissions to a file in java?

1045


What is a container in a gui?

1042


What is java abstraction with example?

1139


How can u increase the heap size in the memory?

1069


How finally used under exception handling?

988


What is java used for on a computer?

1036


What is jar?

1174


How to change the priority of thread or how to set priority of thread?

1072