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 / maduakor ngozi chukwukodinaka

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 ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of http?

977


What is immutable state?

943


How to display all the prime numbers between 1 and 100

944


What is boolean example?

895


Can a class have an interface?

921


How many ways can an argument be passed to a subroutine and explain them?

966


What is a "pure virtual" member function?

1042


What is the difference between size and length in java?

929


What is the major advantage of external iteration over internal iteration?

1034


I want to store more than 10 objects in a remote server? Which methodology will follow?

3125


How to make a class or a bean serializable?

914


What is the main use of java?

1101


Can we sort hashset in java?

1037


How to display names of all components in a Container?

2892


What does .equals do in java?

1008