1) State use of finalize( ) method and final variable with its syntax
Answers
Answered by
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
English,
1 month ago
World Languages,
1 month ago
Social Sciences,
1 month ago
Sociology,
2 months ago
Hindi,
10 months ago
Math,
10 months ago
Math,
10 months ago