What is “try and catch” in java

Answer Posted / srikanth

if u are devloping code then some where in line no we may
get exception
in order to catch that exception we use try and catch

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we restart a thread already started in java?

582


What is the difference between an interface and an abstract class?

540


When a byte datatype is used?

567


What is a nested list?

522


how to handle exceptions in ejb?

1875






What is try-with-resources in java?

613


Are arrays immutable in java?

543


Explain implementation and how is it different from conversion?

589


Can an interface be defined inside a class?

520


Explain about method local inner classes or local inner classes in java?

571


How does enum work in java?

548


Which collection is ordered in java?

533


What is the meaning of flag day?

541


What is __ init __ functions?

551


What is an object class?

559