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...

In Java why we write public static void main(String args[])
why not main()?

Answer Posted / kanchan bangar

becoz in java programs execution is starts from main method
and static method is for the first preference
method.ppublic is for the global scope to all over the
progarms..............

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the important features of Java 9 release?

1050


Is the empty set a singleton?

1026


What is integers and example?

1051


how can you take care of mutual exclusion using java threads? : Java thread

1094


Can you tell me range of byte?

1055


What do you mean by object?

1032


Is null a keyword in java?

1023


What is meant by oops concept in java?

1050


What does || mean in code?

1100


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

1029


What is percentage in java?

1057


What are the differences between string and stringbuffer?

1179


Write a java program to count the number of words present in a string?

1021


What is Garbage Collection in Java

1121


Explain java coding standards for interfaces?

1165