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 does the three dot emoji mean?

1051


What is an example of a keyword?

1015


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1931


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

918


What is regex java?

1027


Explain about procedural programming language or structured programming language and its features?

1033


What is the difference between the ">>" and " >>>" operators in java?

930


What is internal variable?

967


What is the difference between instanceof and isinstance?

987


how does multithreading take place on a computer with a single cpu? : Java thread

1086


What is collection api?

1001


When is the finalize() called?

1126


Can we catch more than one exception in a single catch block?

1020


What is hasnext in java?

973


Explain the importance of throwable class and its methods?

992