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 is purpose of writting public static void main(Strind
arg[]) in java..?

Answer Posted / srinivas nallavelli

public-> it must be available to jvm
static-> to use without instantiation
void-> does not return any thing
String[] args -> to take every variable as string
..through cmmand line arguements

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the elements of java?

1013


What is the difference between variable declaration and variable initialization?

1036


Can we overload run() method in java?

1208


How do you do a line break in java?

1025


What is nested class?

1004


What is api in java?

984


What do you understand by garbage collection in Java? Can it be forced to run?

989


What is return keyword in java?

1056


How can we break singleton in java?

971


Which is better stringbuilder or stringbuffer?

940


What is the difference between a break statement and a continue statement?

1040


Is singleton set an interval?

968


Explain implementation and how is it different from conversion?

1086


What is the use of string and stringbuffer?

986


What is the difference between java applets and applications?

1164