1 Answer

0 votes
by
A block which is preceded by the try keyword is known as a try block

Syntax:

1

2

3

try{

   //statements that may cause an exception

}
...