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

Difference between static methods, static variables, and static classes in Java.

1 Answers  


What is a class component?

0 Answers  


What is the difference between state-based unit testing and interaction-based unit testing?

0 Answers  


How the elements are organized in GridBagLayout?

1 Answers  


How do you sort a string in java?

0 Answers  


What is the difference between member variables initialization and assignment in a constructor?

0 Answers   Hexaware, Virtusa,


What is the implementation of destroy method in java. Is it native or java code?

0 Answers  


Explain Stream Tokenizer?

4 Answers  


What is pass by value?

0 Answers  


What is use of super keyword?

0 Answers  


What is the need to implement Serializable interface (with no methods) for objects which are to be serialized ? We can write our own functionality which writes objects to streams then why we need to implement and tell JVM that which objects can be serialized.

6 Answers   iFlex, Sapient,


What is the use of hashmap in java?

0 Answers  


Categories