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

What is application system?

933


Define an applet in java?

1155


Differences between C and Java?

1197


What is javac used for?

937


What is the difference between static class and normal class?

1027


What is queue in java?

1146


hr interview how many minutes asking question

2042


What is contract between hashcode and equal method?

1038


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

1111


What are basic data types?

1093


what is difference between equals and ==?

1059


Does windows 10 need java?

1043


What language is an assembler written in?

994


What is the r character?

1010


Which method returns the length of a string?

1029