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

Why do we use public static with the main function in Java?

Answer Posted / abhi

why all these guys used to say "no need to create objects for a static class" tell what advantages u wil b geting without creating an object.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does class forname work in java?

1023


Explain purpose of sleep() method in java?

1169


What is anagram number?

1018


what is the use of bean managed and container managed with example?

2013


What are the 5 types of research methods?

1188


Explain an algorithm to find depth of a binary tree.

1098


What is final keyword in java? Give an example.

1061


What are the Class Libraries ?

1086


Can constructor be synchronized?

986


Explain the public class modifier?

996


What is the difference between comparison done by equals method and == operator?

1063


Does the order of public and static declaration matter in main method?

1111


What does yield method of the thread class do?

1081


What are the methods available in a class?

1127


What is the main use of generics in java?

1073