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

Are arrays static in java?

1057


What is argument in java?

1022


What is a treeset in java?

1040


Is class forname reflection?

990


What do you know about the garbate collector?

1020


Explain importance of finally block in java?

1040


Why is logger singleton?

1128


What is set and get methods in java?

977


Why are getters and setters used?

1061


What does the string method compareto () do?

1059


What are the different types of constructor?

996


Differentiate between class and structure.

1133


What is the vector class in java programming?

1088


What are the three best choices for a development environment?

1118


Does set allows null in java?

962