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

can we overload main method?

Answer Posted / sujith.v.m

Yes,
Because signature is different in main function so it will be overloaded.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is singleton pattern?

1118


What is scanner in java?

955


If I only change the return type, does the method become overloaded?

926


What is nan inf?

1080


How to change value in arraylist java?

1175


How does regex work?

960


What is the use of set in java?

1122


Why main function is static?

1239


How do you sort a list in java?

1033


Convert a BST into a DLL and DLL to BST in place.

1113


Why do you canvas?

1041


What is prime number in java?

994


What is the purpose of javac exe?

1092


How many types of voids are there?

991


For class CFoo { }; what default methods will the compiler generate for you>?

1073