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 / glibwaresoftsolutions

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

Is singleton class immutable?

965


What is tochararray in java?

936


What is object of class in java?

1125


What is the char data type?

997


How do you declare a string variable?

1017


Difference between Preemptive scheduling vs. Time slicing?

1021


What is the effect of keeping a constructor private?

951


Difference between start() and run() method of thread class?

1071


What is member in java?

1020


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1321


explain different ways of using thread? : Java thread

1011


What is the purpose of skeleton and stub?

1239


What are the classes of java?

966


Can we convert stringbuffer to string?

1010


What are the two basic ways in which classes that can be run as threads may be defined?

1075