How do you use final keywords and final variables in Java?
Answer Posted / 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 View All Answers
Where is stringbuffer stored?
Difference between method overloading and overriding.
what is use of functional interface in java 8?
Differentiate between array list and vector in java.
What is the use of using enum to declare a constant?
Can It is possible to synchronize the constructor of a Java Class?
Explain the difference between static and dynamic binding in java?
What does opcode mean?
why doesn't java run on all platforms?
What are methods in java?
How can we create objects if we make the constructor private ?
What is import java util arraylist?
What are the differences between wait() and sleep()?
Can a static method be final?
java Technical questions asked by JPMC