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 Concept of Encapsulation in OOPS

0 Answers   HCL,


Is char a data type in java?

0 Answers  


What are the ways to instantiate the class class?

0 Answers  


What is flag in python?

0 Answers  


give me the answer of this code class A extnds String This code we can write r not in Java? Explain?

4 Answers  


Which sorting is used in arrays sort in java?

0 Answers  


List primitive java types?

0 Answers  


Explain the purpose of garbage collection in Java?

0 Answers   BirlaSoft,


worst case complexities of Quick sort and Merge sort.

0 Answers   Amazon,


What is meant by final class?

0 Answers  


What is Remote Interface ?

6 Answers   CTS,


Explain the difference between abstract classes and interfaces in java?

0 Answers  


Categories