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?

Answers were Sorted based on User's Feedback



What happens when a main method is declared as private?..

Answer / varsha vilas kalebag

IF MAIN METHOD IS DECLARED AS PRIVATE ,THEN WE CAN NOT
ACESSES THE PRVIATE MEMBERS IN ANOTHER CLASS

Is This Answer Correct ?    5 Yes 43 No

What happens when a main method is declared as private?..

Answer / vani

Nothing Happen.
Code compiles properly and executes properly.

Is This Answer Correct ?    5 Yes 76 No

Post New Answer

More Core Java Interview Questions

What is the significance of listiterator?

0 Answers  


What is a data structure java?

0 Answers  


What is ctrl m character?

0 Answers  


can we override the main() method in java????

3 Answers   Vimukti Technologies,


What does the string method compareto () do?

0 Answers  


How hashmap increases its size in java?

0 Answers  


What class allows you to read objects directly from a stream?

0 Answers  


What are latest features introduced with java 8?

0 Answers  


What is the difference between synchronized and synchronized block?

0 Answers  


Which is bigger float or double java?

0 Answers  


What is object of class in java?

0 Answers  


How will you reverse a link list without using recursion?

0 Answers   Global Logic,


Categories