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

Explain java code for recursive solution's base case?

1091


what are the disadvantages of indexes in oracle?

2638


How many ways can we create the string object?

1070


Will set allow duplicates in java?

1028


How do you detect memory leaks?

1115


What is difference in between java class and bean?

1166


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

1363


How do you use spaces in java?

1039


How do you use parseint in java?

1030


How to create com object in Java?

1121


What is bufferedreader in java?

1107


What is a class instance variable?

1172


What is constructor chaining and how is it achieved in java?

1243


Can a class have more than one object?

1053


What is the difference between stream and buffer?

1022