Set - 2

Question 16 :

What is exception ?

Answer :

An event during program execution that prevents the program from continuing normally; generally, an error. The Java programming language supports exceptions with the try, catch, and throw keywords. See also exception handler.

Question 17 :

What is exception handler ?

Answer :

A block of code that reacts to a specific type of exception. If the exception is for an error that the program can recover from, the program can resume executing after the exception handler has executed.

Question 18 :

What is executable content ?

Answer :

An application that runs from within an HTML file. See also applet.

Question 19 :

What is extends ?

Answer :

Class X extends class Y to add functionality, either by adding fields or methods to class Y, or by overriding methods of class Y. An interface extends another interface by adding methods. Class X is said to be a subclass of class Y. See also derived from.

Question 20 :

What is field ?

Answer :

A data member of a class. Unless specified otherwise, a field is not static.