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 a J2EE component? List out all the component?

2 Answers   Adobe,


how to execute main()

4 Answers   Symphony, TCS,


How many wrapper classes are there in java?

0 Answers  


What are the 4 types of research methods?

0 Answers  


where exactly collections are usefull in realtime

2 Answers  


Why does java doesnot support multiple inheritance?

5 Answers   TCS,


Can we define static methods inside interface?

0 Answers  


What is the difference between Synchronizing mehtod & Synchronizing block?

2 Answers  


Difference between ‘>>’ and ‘>>>’ operators in java?

0 Answers  


Is there a jre for java 11?

0 Answers  


What is function and method in java?

0 Answers  


Does isempty check for null?

0 Answers  


Categories