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
Explain the Propertie sof class?
What is unmodifiable collection in java?
Which is faster call by value or call by reference?
What is == in java?
What is return keyword in java?
what do you mean by classloader in java?
Is string serializable in java?
List some oops concepts in java?
how can you take care of mutual exclusion using java threads? : Java thread
What is the largest number a double can hold?
What is the difference between call by reference and call by pointer?
What is static and final keyword in java?
What is starvation?
Does apple use java?
Is java util list serializable?