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 / r.jainrocks@gmail.com

Byte that have main() implementation can become starting
point of program .

if a program have no main()

i.e.
public static void main(String[] args)

properly it can't become starting point in application
it can be use through other program which capable to become
starting point.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pojo class in java?

996


Can you access non static variable in static context?

983


How will you initialize an Applet?

1075


Why method overriding is used?

1016


List out benefits of object oriented programming language?

829


What is polymorphism and what are the types of it?

937


Can we have any code between try and finally blocks?

964


Can we serialize arraylist in java?

956


When is an object subject to garbage collection?

989


Is final static java?

949


Can each java object keep track of all the threads that want to exclusively access it?

907


What is lazy programming?

954


Is void a data type in java?

914


Is it possible to instantiate the abstract class?

908


Does java arraylist maintain insertion order?

933