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 / r.jainrocks@gmail.com

Byte that have main() implementation can become starting
point of program .

if a program have no main()

i.e.
public static void main(String[] args)

properly it can't become starting point in application
it can be use through other program which capable to become
starting point.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between a threads start() and run() methods? : Java thread

1015


What is difference between next () and nextline () in java?

992


Can you tell me range of byte?

992


Does substring create a new object?

1001


What is the difference between Grid and Gridbaglayout?

1248


Can we assign the reference to this variable?

979


Is arraylist an object in java?

1168


What are methods and how are they defined?

1212


Give an example of use of pointers in java class.

1031


What is the purpose of format function?

1182


What is the length of a string?

1025


Why are parameters used in functions?

1020


What is the importance of hashcode() and equals() methods?

1056


How to compare strings in java?

1020


Explain tree set and its features?

1059