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?



What is the difference between Static and final?..

Answer / 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

More Core Java Interview Questions

Does list allow duplicates in java?

0 Answers  


Give reasons supporting that string is immutable.

0 Answers  


Diff between Comparator and Comparable?

2 Answers   Aditya Birla,


Why multiple inheritance is not supported by java?

0 Answers  


What is the basic of java?

0 Answers  


Hi, well i am unable to understand that why it is mandatory to have same hashcode, if two objects are same? Thanks in advance.

5 Answers  


how to convert mm/dd/yy to dd/mm/yy using collections in java.

4 Answers   Bosch,


what is difference between equals and ==?

0 Answers  


whats the difference between == and .equal ?

10 Answers   Cisco,


what is auto boxing

3 Answers   UHG,


What is the significance of continue jump statement? Explain with an example.

0 Answers   Amdocs,


What is the difference between preparedstatement and statement in java?

0 Answers  


Categories