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 the main() isn't declared as static?

Answer Posted / nashiinformaticssolutions

When the main method is not declared as static, then the program may be compiled correctly but ends up with a severe ambiguity and throws a run time error that reads

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to compare various strings with the help of == operator? What are the risks involved?

1136


What is the purpose of garbage collection in java?

1144


What is a byte array?

1151


Is multiple inheritance supported by java?

1057


What does system out println () do?

1071


What is the significance of continue jump statement? Explain with an example.

1358


Why do we need data structure in java?

1124


How will you add panel to a frame?

1169


What is private static class in java?

1067


What is parsing in grammar?

1091


What are the types of relation?

1112


Are floats faster than doubles?

1149


State two differences between C and Java.

1396


How will you communicate between two applets?

1218


What is adapter in java?

976