0
What is difference between final, finally, finalize in java?
2 Respostas
+ 2
Just took 2-3 second to find on Google.
https://www.javatpoint.com/difference-between-final-finally-and-finalize
+ 1
final before a varible make it constant.
Ex: final int size=10; //so later you cannot modify its value...
final before a method, makes it not possible to overwrite in sub class...
Final before a class prevents it inheriting..
finally is used in Exception handling..
try{..}catch{..}finally{..}
Finally block always gets executed whether Exception is raised or not..
finalize() is a method used in garbage collection.. Garbage collection is taken care by the jvm....
Hoping it helps you some...
Edit:
Above link providing more clarity...