Java modifiers like final, finally, const, volatile, transient and finalize are very popular with the job interviewers. You will see why because of the possible drill down questions.
Q1. What is the difference between ‘final‘ and ‘const‘ modifiers on a variable?
A1. This is a bit of a tricky question because the ‘const‘ is a reserved keyword in Java, but not used.…