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

When a method is declared as private, the program compiles
properly but it will give runtime error ?Main method not
public"

Is This Answer Correct ?    111 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What methodology can be utilized to link to a database?

910


What are java packages?

982


How java is similar to c?

1006


What is the primary benefit of encapsulation?

1018


What is literal example?

906


How we can execute any code even before main method?

1087


What is the purpose of garbage collection in java, and when is it used?

991


What are different access specifiers in java?

956


Can you explain the usages of class.forname()?

1019


What are the 4 types of research methods?

881


Explain about the dynamic behavior of core java?

1079


Will set allow duplicates in java?

929


Which class should you use to obtain design information about an object in java programming?

1044


What is the use of generics? When was it added to the Java development Kit?

971


Can we override the overloaded method?

1065