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

a thread is runnable, how does that work? : Java thread

0 Answers  


what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0

2 Answers  


Is java platform independent?

0 Answers  


Why do I need to declare the type of a variable in java?

0 Answers  


What is Distributed Application and what is its usage?

2 Answers  


What are advantages of using Java?s layout managers than windowing systems?

0 Answers  


Give me example of derived data types.

0 Answers   Amdocs,


"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)

3 Answers  


List the three steps for creating an object for a class?

0 Answers  


What happens if a constructor is declared private?

0 Answers  


Difference between nested and inner classes ?

0 Answers  


what is d difference between deep cloning and shallow cloning in core java?

3 Answers   Satyam,


Categories