What is “try and catch” in java

Answer Posted / guest

WHILE DEVELOPING THE PROJECTS ,EXCEPTIONS ARE RAISED.THE
EXCEPTIONS ARE CALLED THE RUN TIME ERRORS.THE EXCEPTIONS ARE
VERY USEFUL WHILE DEVELOPING THE PROJECTS BECAUSE THE
"ROBUST" FEATURE IS COMES FROM THIS EXCEPTION CNCPT.WHILE
DEVELOPING THE PROJECTS, TRY BLOCK IS USEFUL TO THE
EXCEPTION IS LIKELY OCCURED IN THAT BLOCK THT BLOCK IS
PLACED INSIDE THE TRY BLOCK.THAT RAISED EXCEPTIONS ARE CATCH
AT THE CATCH BLOCK.TR7Y BLOCK IS CALLED THE EXCEPTION RAISER
ALSO AND THE CATCH BLOCK IS CALLED THE EXCEPTION HANDL;ER BLOCK

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is meant by Garbage collection?

687


What is the difference between pass by reference and pass by pointer?

571


Write a program to reverse array in place?

656


Explain an intermediate language?

569


What is an abstract class and what is it’s purpose?

599






Highest level event class of the event-delegation model?

3563


Explain the difference between jdk, jre, and jvm?

663


What are scalar data types?

583


What is a class in java?

656


What is dynamic binding(late binding)?

665


please send me hr interview questions in it industry

1745


What are the different tags provided in jstl?

633


What do you understand by the term wrapper classes?

614


What are the differences between include directive and include action?

609


Can we change the scope of the overridden method in the subclass?

912