answersLogoWhite

0

try{

statements;

}

catch(Exception e)

{

message

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the syntax of global variable in java?

There's no global variables in Java.


The PHP syntax is similar to which languages?

Its similar to a number of languages such as C, C++, Java and Perl.


Will the java compiler translate a source file that contains syntax errors?

No it will not. Any java source file that has syntax errors will not be translated fully. The compiler will spit out errors based on the syntax problems in your code.


What is the Java grammar?

"Java grammar" is the way of writing a program with correct syntax of various commands used in java language.


What is the syntax of Java?

See the related links section for a link to the official Java language specification.


What is syntax of java?

See the related links section for a link to the official Java language specification.


Java syntax are based on which language?

It was designed to have a familiar syntax for programmers who already know C or C++, while removing some of the complex or error-prone features of C++, like pointers and multiple inheritance, to make it simpler and safer.


Is the Java syntax different in other spoken languages such as German?

no


What is the purpose of NoMatchException handling method in java?

java exception


What is the first Java syntax rule?

Put a ; at the end of each command;


What does do in java?

You never write "do" seperately in Java. The only situation I can think of when you have to write "do" is in the "do while" statement. This is the syntax: do { statement(s) } while (expression);


What type of errors we have in Java programming?

syntax error, Runtime error, Longic error