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 the use of static keyword in "public static void
main()"

Answer Posted / subha, bijji

a static is a method that is called with out using object.
we can call a static method is like classname.method name.
it is very usefuul in public static void main()

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between local variable and global variable?

958


what is the difference between thread and runnable types? : Java thread

955


what is the purpose of the runtime class?

1019


What is the difference between an argument and a parameter?

954


What is multithreading and its advantages?

1021


What is Java Package and which package is imported by default?

1042


What is variable explain?

966


Is age a discrete variable?

925


Is Java a dying language?

1041


Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

1004


What is the difference between static and non-static variables in java programming?

922


How many types of methods are there in java?

961


Explain the difference between intermediate and terminal operations in java8?

1059


Explain parallel processing in java8?

1169


What is the type of lambda expression?

965