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?

Answers were Sorted based on User's Feedback



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

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

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

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

More Core Java Interview Questions

String is mutable or immutable?

3 Answers  


How is abstraction implemented in java ?

0 Answers  


What is the difference between synchronized and synchronized block?

0 Answers  


What are design patterns and please explain?

0 Answers  


Can we use switch statement with strings?

0 Answers  


Does java return by reference?

0 Answers  


Give few examples of final classes defined in Java API?

0 Answers   BirlaSoft,


Can a class be private in java?

0 Answers  


IN java collections we have both interfaces and classes. instead of using interfaces why we can't use classes only like that why we can't use interfaces only. why we need two things interface and class.

6 Answers   Accenture, CTS,


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

0 Answers   Infosys, TCS,


What does indexof mean?

0 Answers  


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

0 Answers  


Categories