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

what is difference betweem home interface and remote interface?

2565


What is native method in java?

1016


Name few "optional" classes introduced with java 8 ?

1069


What is classname class in java?

992


What is thread synchronization in java?

860


What is the do while loop syntax?

983


How do you do absolute value in java?

929


What are the 4 versions of java?

1104


What is the reflection?

946


How do you declare an empty string?

1010


Difference between string s= new string (); and string s = "abv";?

1160


When throws keyword is used?

947


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

986


What is a nested class?

1058


Is 0 true or is 1 true?

906