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

What is the protected method modifier?

1042


Write code to implement bubble sort in java?

994


What is enhanced loop in java?

987


What java ide should I use?

987


Is null keyword in java?

941


How to declare objects of a class ?

1073


What is rmi and steps involved in developing an rmi object?

1063


What is the purpose of an interface?

1039


what do you understand by synchronization? : Java thread

984


Can arraylist hold different types java?

979


What is compiler and what its output.

1148


Where is singleton pattern used?

991


Java Compiler is stored in JDK, JRE or JVM?

1520


What is the purpose of a parameter?

1072


What are accessor methods in java?

1006