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 / sagar chavan

If the main function is made private,

we can do it but the starting point of project should be changed. By default it is main.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of immutable objects?

963


Can we declare an array without size in java?

935


Why java is object oriented?

973


What are the characteristics of java?

995


what is the difference between a threads start() and run() methods? : Java thread

974


Write a program to print fibonacci series up to count 10.

860


What do you mean by exception handling in Java?

1228


What is boolean used for?

994


What is stringbuffer in java?

1011


Why java is considered as platform independent?

973


Can java cast null?

988


Can we create a constructor in abstract class?

948


Can we declare a static variable inside a method?

966


In a container there are 5 components. I want to display the all the components names, how will you do that one?

1003


Is list thread safe in java?

886