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

Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1161


What is == in java?

1016


What is the difference between JDBC 1.0 and JDBC 2.0?

3179


Explain oops concepts in detail?

1026


How can we pass argument to a function by reference instead of pass by value?

1111


What is output buffer?

1049


Explain about arraylist?

1101


Is constructor inherited?

961


What are exception handling keywords in java?

1034


What is difference between path and classpath in java?

1020


Is null an object java?

987


What are java annotations?

1155


Why are there no global variables in java?

1044


What are the uses of java?

1088


What are runtime exceptions?

1160