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

What is pojo class in java?

1113


What is thread pool in java with example?

1017


Why set do not allow duplicates in java?

1112


Is arraylist an object in java?

1181


What is local variable and instance variable?

1064


How to check if linked list contains loop in java?

907


Can we restart a dead thread in java?

1000


Which non-unicode letter characters may be used as the first character of an identifier?

1007


what is meant by abstract class?

1131


What is meant by 'Class access modifiers'?

1053


What is proper subset?

982


What are the 7 types of characters?

1081


What is the difference between jfc & wfc?

1081


How many types of flags are there?

1019


Why does java does not support multiple inheritance? Explain

985