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

Name the components that are termed to be Heavy-weight component but available in Light-weight components?

2441


what is the difference between future and callable interface in java?

1145


What does @param args mean in java?

1011


What is length in java?

958


What is ctrl m character?

988


Can a static block throw exception?

1046


What is java virtual machine? Explain

965


What is a subsequence of a string?

1001


What is number data type in java?

943


What is the structure of java?

963


Does variable declaration allocate memory?

982


What is the benefit of singleton pattern?

930


How do you stop a thread in java?

1001


What is the parse method in java?

1049


What is navigable map in java?

939