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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages and disadvantages of object cloning?

1108


What is the difference between length and size in java?

991


Is there any difference between nested classes and inner classes?

1098


Can you explain the final method modifier?

1010


What type of language is java?

1000


What is the purpose of using bufferedinputstream and bufferedoutputstream classes?

1072


What is the difference between Java and C++?

1197


What are anonymous inner classes?

1011


What is a treemap in java?

1012


Can constructor be protected in java?

967


What is data type modifier?

945


Can an interface be defined inside a class?

1062


What is the mapping mechanism used by java to identify IDL language?

1009


Can two objects have same hashcode?

1001


What is public/private protected in java?

1042