Hi.,
my doubt is about final keyword.,
i think a variable whether it is primitive or reference variable ., when it is declared as final variable we can't modify that value.,
but can we assign a final reference variable of an object to another reference variable of the same class?
my doubt is about final keyword.,
i think a variable whether it is primitive or reference variable ., when it is declared as final variable we can't modify that value.,
but can we assign a final reference variable of an object to another reference variable of the same class?