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 sortedmap interface?

1001


What is the main difference between java platform and other platforms?

1107


What is Java Reflection API? Why it’s so important to have?

1165


What is intern method in java?

1084


Why is stringbuffer called mutable?

1001


how to create daemon thread in java?

1080


What is main function purpose?

1039


Is it necessary for the port addresses to be unique? Explain with reason.

1018


If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

1183


What is keyword auto for?

1188


What is a map in java?

995


Can we have 2 main methods in java class?

1023


What does sprintf mean?

949


What is difference between length and length() method in java ?

1000


Is java a virus?

961