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

How do you define a set in java?

1014


Can I declare class as static or private?

965


What is a container in a gui?

984


What is difference between pointer and reference?

1067


How many bytes are there?

998


what are the methods in object?

1148


What is function and method in java?

946


What is ctrl m character?

1057


What is appletviewer?

1033


What happens when I use / and % with a negative numerator?

1041


What is complexity in java?

1039


Is it possible to write a regular expression to check if string is a number?

1028


What are the two basic ways in which classes that can be run as threads may be defined?

1075


What is method overloading and method overriding?

1061


What is the right data type to represent a price in java?

956