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 static variable and static method?

Answer Posted / jai

One Copy of Static variable will be shared by multiple
instances.Static method can be called by the Class itself
without creating any instance where as the non static
methods cannot be called without the help of instances.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention some interfaces implemented by linked list in java.

974


What is derived datatype?

1149


What is object data type?

944


Is array a class?

881


Is null an object in java?

976


Explain the difference between map and flatmap stream operation?

1196


What is comparator in java?

950


Can we declare a static variable inside a method?

954


What is the use of StringTokenizer class?

1016


How do you pass by reference?

986


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

923


What is array and arraylist in java?

1047


Is null function in java?

975


Which graphs are functions?

900


How does hashset work in java?

1060