0
Can be a try block without catch?
5 Réponses
+ 3
You can't write only try block it will throw you a compile time error.
if you write try then you need to write either catch or finally block.
so You can use finally instead of catch but that way your program is going to terminate abruptly since you are not catching the exception.
+ 2
Afresia your welcome😊😊😊
+ 1
instead of catch you use finally or throw
you can not use try block only it throw an expection
0
привет! буду рад пообщаться с тобой))
hi! I will be glad to talk with you))