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 java command?

1080


What is meant by tab pans?

1235


What is the new line character?

1172


Is java a security risk?

1036


Where is jre installed?

1033


Mention a package that is used for linked list class in java.

978


State the main difference between c++ and java?

1088


Explain what pure virtual function is?

1019


What does int argc char * argv [] mean?

993


What is thread life cycle in java?

1063


What is pangram in java?

1011


What about features of local inner class?

1066


What is java basic concept?

1037


Is there a jre for java 11?

1075


What do you mean by of string::valueof expression in java 8?

966