Final field cannot be changed after the object has been constructed - Core Java

Q.  Which field cannot be changed after the object has been constructed?
- Published on 10 Jul 15

a. Static field
b. Non-static field
c. Final field
d. Naming field

ANSWER: Final field
 

    Discussion

  • Rupesh Bharuka   -Posted on 29 Sep 16
    In java Final means a constant which can not be changed. So, if any field(data member) has been declared or initialized as a final then it can not be changed further in a program.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)