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

Which is better stringbuilder or stringbuffer?

0 Answers  


Difference between ‘is-a’ and ‘has-a’ relationship in java?

0 Answers  


List interface?

2 Answers  


Which is easier .net or java?

0 Answers  


what is difference between throw and throws in exception?

48 Answers   Spenco,


Explain the difference between jvm and jre?

0 Answers  


What are keywords in java?

0 Answers  


State the significance of public, private, protected class?

0 Answers  


why the abstract class has default constructor?

2 Answers  


which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

6 Answers   HP, SparkTG,


What is difference between path and classpath?

0 Answers  


what is difference between validation.xml & validation rules.xml?

8 Answers   BirlaSoft,


Categories