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

What is multithreading ???? How to stop multithrading in java????

1 Answers   Cognizant,


Can an object?s finalize() method be invoked while it is reachable?

2 Answers  


can u override the start() method of Thread class

5 Answers  


What does regex mean?

0 Answers  


What are the latest versions in JAVA related areas?

3 Answers   Netcraft,


when there is a need of jvm then how we can say that java is a platform independent language?

3 Answers  


What are thread safe functions?

0 Answers  


What is bom encoding?

0 Answers  


When should I use a singleton?

0 Answers  


What is replaceall in java?

0 Answers  


Does java set allow duplicates?

0 Answers  


Write POJO class as a key to hashmap???

2 Answers  


Categories