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 auto boxing

3 Answers   UHG,


What is the statements?

0 Answers  


Write a program to find maximum and minimum number in array?

0 Answers  


Can we declare a class as static?

0 Answers  


What is bean? Where it can be used?

0 Answers  


What methodology can be utilized to link to a database?

0 Answers  


Which Component subclass is used for drawing and painting?

1 Answers  


what questions are been asked ??? for interview in apti

0 Answers  


finalize() method?

5 Answers  


Explain the use of sublass in a java program?

0 Answers  


primitive data types in Java ?

3 Answers  


What is a boolean structure?

0 Answers  


Categories