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

is java support call by reference and call by value, if supports please explain?

5 Answers  


what is an object class?Explain its methods?

6 Answers  


Can we inherit the constructor in a Class?please give one example.

9 Answers   iGate,


What are access specifiers available in java?

0 Answers  


Write a method that will remove given character from the string?

0 Answers  


What is stringreader?

0 Answers  


What is supplier in java?

0 Answers  


Can we serialize singleton class?

0 Answers  


What are decalarations?

0 Answers  


3) Suppose you are a very rich person, having 50 rooms and you have lost the key for one of the room's. How effectively you can find this key? (Qs2 and Qs3 are related)

3 Answers   RBS,


What is meant by method?

0 Answers  


What is a numeric format?

0 Answers  


Categories