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 / sagar chavan

If the main function is made private,

we can do it but the starting point of project should be changed. By default it is main.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of classes are there in java?

1055


What is the default value of local and global variables?

1097


Explain the difference between hashmap and hashtable in java?

944


What is a ternary operator in java? What is an interface?

1001


What is hasnext in java?

1018


What is overloading and overriding in java?

1229


What is meant by attribute?

1126


Can set contain duplicates?

996


What does 3 dots mean in java?

989


Why does java have different data types for integers and floating-point values?

1013


What is the difference between compiler and jvm?

1055


What are abstract methods in java?

1122


How can we create objects if we make the constructor private ?

1015


What do you mean by composition in java?

1026


Implement two stacks using a single array.

1065