Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the difference between final and finally in Java?
Home
JAVA
What is the difference between final and finally in Java?
+1
vote
asked
Feb 1, 2023
in
JAVA
by
sharadyadav1986
What is the difference between final and finally in Java?
final-keyword
finally-keyword
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 1, 2023
by
sharadyadav1986
final is a keyword used to declare a constant in Java, while finally is a block in Java that is used to specify the code that should be executed regardless of whether an exception is thrown or not.
...