0 votes
in JAVA by
Can finally block be used without a catch?

1 Answer

0 votes
by

Yes, According to the definition of finally block, it must be followed by a try or catch block, therefore, we can use try block instead of catch. More details.

Related questions

0 votes
asked Oct 18, 2019 in C Sharp by Robin
+1 vote
asked Jan 24, 2020 in JAVA by rahuljain1
...