Computer Science, asked by nandhare154, 1 month ago

1)  State use of finalize( ) method and final variable with its syntax​

Answers

Answered by shivamishraom16
1

This is an important question concerning the interview point of view.

final keyword

final(lowercase) is a reserved keyword in java. We can’t use it as an identifier as it is reserved. We can use this keyword with variables, methods and also with classes. The final keyword in java has different meaning depending upon it is applied to variable, class or method.

final with Variables : The value of variable cannot be changed once initialized.

Similar questions