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...

Is there is any error if you have multiple main methods in
the same class?

Answer Posted / bindhu

The compilation error " main(lava.lang.String[]) is
already defined " will occur when we use have multiple main
methods in the same class?

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you implement polymorphism in our day to day life?

3165


What is palindrome in java?

928


How does the java compiler work?

909


Is void a return type?

899


Is arraylist ordered in java?

1037


What is an exception? difference between Checked and Unchecked exception in Java

954


What is == and === in javascript?

987


Where is singleton pattern used?

929


What are internal and external variables?

904


Explain when we should make an instance variable private.

1039


What does a boolean method return?

1141


Does apple use java?

885


List types of storage classes in java?

1064


Can an interface extend another interface?

1006


What is printwriter in java?

899