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 is the difference between jvm and jre? What is an interface?

0 Answers  


What is substring of a string?

1 Answers  


What are the advantages of encapsulation in java?

0 Answers  


What is string args [] in java?

0 Answers  


Can we clone singleton class in java?

0 Answers  


What are the advantages of defining packages in java?

0 Answers  


How does arrays sort work in java?

0 Answers  


what is difference between abstract factory and factory design patterns?

0 Answers  


Name few java 8 annotations ?

0 Answers  


Differentiate between stringbuffer and stringbuilder in java.

0 Answers  


What is public static void main?

0 Answers  


can we add two numbers without using arthematic operators? if possible how?

5 Answers   CTS,


Categories