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

Differentiate between vector and array list.

996


What is the difference between a window and a frame in java programming?

1085


What is the difference between && and & in java?

1026


Define nashorn in java8.

975


What is JVM and is it platform independent?

993


explain local datetime api in java8?

968


What is ++ a in java?

927


What is string data type?

908


Why java strings are immutable in nature?

981


make a method which any number and any type of argument and print sum of that arguments.....

1750


What will be the output of round(3.7) and ceil(3.7)?

1069


What are the main differences between the java platform and other platforms?

996


What is difference overloading and overriding?

1088


What is boolean data type in java?

939


Is singleton set an interval?

901