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 / vani

Nothing Happen.
Code compiles properly and executes properly.

Is This Answer Correct ?    5 Yes 76 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between equals and hashcode method?

1130


Why is java so important?

1120


what do you mean by classloader?

1088


Can I extend singleton class in java?

1101


Explain wait(), notify() and notifyall() methods of object class ?

1034


How to calculate the length of a singly linked list in java?

1029


Explain the pointers in Java?

1052


Is null a value?

1038


Explain the scope or life time of class variables or static variables?

988


Can the garbage collection be forced by any means?

989


Can we create a constructor in abstract class?

979


Can you declare the main method as final?

1013


What is the definition of tree ?

1037


When should I use singleton pattern?

1020


What is set in java?

1044