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 |
Can substring create new object?
What is a classloader in java?
Can we use static class instead of singleton?
What is the synonym of string?
What is import java util arraylist?
How does multithreading take place on a computer with a single cpu?
What is the difference between abstract classes and interfaces?
how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly?
what is the main difference between string and stringbuffer? can you explain it with program?
justify c is portable
How do you start a new line in java?
To the class members how can we provide security?