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

List some important characteristics on jre

0 Answers  


What sorting algorithm does javascript use?

0 Answers  


Explain heap sort?

0 Answers   Flextronics,


What is the difference between Resultset and Rowset.

6 Answers   IBM, Wipro,


How do generics work?

0 Answers  


What is the difference between method and constructor ?

3 Answers  


what is the difference between a threads start() and run() methods? : Java thread

0 Answers  


How to create packages in java?

0 Answers  


What is indexof?

0 Answers  


how to print a numbers from 1 to 100 with out using control structures?

4 Answers   IBM,


What is array length in java?

0 Answers  


What does business logic mean?

0 Answers  


Categories