How do you use final keywords and final variables in Java?
Answers were Sorted based on User's Feedback
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 |
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 |
Which is better stringbuilder or stringbuffer?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
List interface?
Which is easier .net or java?
what is difference between throw and throws in exception?
Explain the difference between jvm and jre?
What are keywords in java?
State the significance of public, private, protected class?
why the abstract class has default constructor?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
What is difference between path and classpath?
what is difference between validation.xml & validation rules.xml?