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 difference between Static and final?

Answer Posted / vetri

in variable,specifying final the value cant be changed
through
entire program.specifying static means the variable value
will persist between different method calls,automatic
initialization of static variable is zero.static and final
methods cant be overriden with non static or non final method.
but static and final methods can be overriden with static
and final methods in the subclass.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you calculate the depth of a binary tree if the tree contains 15 nodes?

1082


What is a char in java?

1041


Can you explain the meaning of aggregation and composition

1010


can java object be locked down for exclusive use by a given thread? : Java thread

1102


What does nextint () do in java?

988


What is abstraction in java?

1092


If a variable is declared as private, where may the variable be accessed?

1061


Why is stringbuffer not immutable?

1082


What is integer valueof?

1110


What is finalize method?

1123


Is alive and join method in java?

1176


How to use Media tracker Class.

1129


What is a double vs float?

1016


What is the covariant return type?

1100


Why unicode is important?

940