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

Can list be final in java?

988


How many bits is a float?

1060


How does a cookie work in Servlets?

899


Write a function to print Fibonacci series and Tribonacci series?

1217


What is the scope or life time of instance variables?

1162


What is meant by null and void?

1035


Can we override the static methods?

1086


What is the difference between class forname and new?

1049


What is the driver class?

1093


Can we extend singleton class in java?

1018


What is static import in java?

1034


Write a program to print the pattern given below

993


Differences between C and Java?

1289


Is array primitive data type in java?

1051


write a program that list all permutations of ABCDEF in which A appears before B?

2522