If a class is defined as final and we declare an instance of the final class... Would it make any difference? or is final in such cases would be re
final
final on a variable has nothing to do with whether the class is final.
final String s = "Hello World"; s = "Goodbye"; // illegal String s2 = "Hello World"; s2 = "Goodbye"; // legal