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...

How do you use final keywords and final variables in Java?

Answer Posted / nashiinformaticssolutions

Java programmers are unable to alter the value of variables of basic data types when they use final keywords with them.
When final is used with non-primitive variables, the members of the referred object cannot be altered.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bytes is a url?

936


What about anonymous inner classes in java?

975


How can we make a class virtual?

1060


Is arraylist sorted in java?

944


What is static method with example?

1092


List some important features of java 10 release?

979


explain multi-threading in java?

962


What is an array length?

858


Can a class have more than one object?

935


Can we override private method?

1036


Write a program to print the pattern given below

886


Is upper case in java?

921


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

982


Explain the difference between private, public, package and protected in java?

992


Name four container classes.

929