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 do you mean by java annotations?

1127


Why singleton is not thread safe?

990


What is formatted output?

954


State differences between C and Java?

1205


List two java ide’s?

1043


What is set and get methods in java?

977


What is the difference between JVM and JRE?

1097


Java is pass by value or pass by reference? Explain

990


What are untrusted applets?

1144


How to sort array of 0 and 1 in java?

949


What are data types in programming?

988


What is the generic class?

964


Is string an object?

1118


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

975


What are extraneous variables examples?

1097