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 / sivaramakrishna bandaru

static method or a variable is not attached to a particular
object, but rather to the class as a whole. They are
allocated when the class is loaded. Remember, each time you
call the instance the new value of the variable is provided
to you.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is serialization in java?

1058


What is a generic code?

1048


How is treeset implemented in java?

1023


What is difference between == and === in js?

1007


What does string intern() method do?

1079


What is pojo class in java?

1087


What does yield method of the thread class do?

1034


How can we find the sum of two linked lists using stack in java?

1133


What is fundamental datatype?

989


Is list ordered in java?

967


How to sort elements in a parallel array in java?

886


What is udp in java?

967


Name few java.lang classes introduced with java 8 ?

981


How many bits is a double?

991


What is pass by value?

941