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

Is string a data type in java?

1028


How to perform linear search in java?

952


Do you know how to reverse string in java?

1155


Explain about static nested classes in java?

1072


What are the main differences between the java platform and other platforms?

1061


What are the states of thread in java?

990


How do you compare two objects?

941


What are static blocks in java ?

1113


How do you print array in java?

997


What types of index data structures can you have in java?

1237


What is a generic data type?

1046


What is backdrop?

1072


What are the procedures?

1061


When should I use singleton?

1041


What is a method in coding?

1061