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 a main method is declared as private?

Answer Posted / subha narayan mohapatra

it will generate an error message because main() method is
the start or execution point in our java program.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain list interface?

960


Can a final variable be null?

1016


What is the purpose of format function?

1179


What are the differences between string, stringbuffer and stringbuilder?

1026


Why main function is static?

1247


What are the differences between checked exception and unchecked exception?

965


How do I remove a character from a string in java?

964


Give me example of derived data types.

1156


Is class is a data type?

1076


How a string is stored in memory?

1020


Explain thread in java?

1163


What is integer valueof?

1109


What are constants and how to create constants in java?

986


How would you dynamically allocate memory to an array?

1040


What is constant in programming?

1110