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 / subha narayan mohapatra

it will generate an error message because main() method is
the start or execution point in our java program.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why collection is called framework in java?

925


What methodology can be utilized to link to a database?

899


What does java ide mean?

1046


What restrictions are placed on method overriding?

1099


How do you use find and replace?

895


How many types of voids are there?

918


Can we overload the methods by making them static?

944


Can we clone singleton object?

1007


Can we assign integer value to char in java?

957


Explain public static void main(string args[]) in java.

930


What is bigger kb or mb?

978


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

908


Why java doesn’t support multiple inheritances?

958


What does sprintf mean?

872


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

1043