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?



What happens when the main() isn't declared as static?..

Answer / 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

More Core Java Interview Questions

What are access specifiers in java ?

0 Answers   Akamai Technologies,


What are the pillars of java?

0 Answers  


What is a modifier?

1 Answers  


What are the types of exceptions?

0 Answers  


What is the return type of read()?

3 Answers  


Are arrays passed by reference in java?

0 Answers  


Why are constructors used?

0 Answers  


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

0 Answers   Amdocs,


Which is not Object in Java?

10 Answers   Honeywell,


What is internal iteration in java se 8?

0 Answers  


What is the argument type of main() method?

2 Answers  


What is the reason that multiple inheritance is not possible in java??

1 Answers  


Categories