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

Is vector ordered in java?

728


If a class is declared without any access modifiers, where may the class be accessed in java programming?

897


Why java is a platform independent? Explain

762


What is a default constructor and also define copy contrucyor?

852


Why string is not a wrapper class?

899


Explain the private protected method modifier?

747


Do you know why doesn't the java library use a randomized version of quicksort?

748


what are synchronized methods and synchronized statements? : Java thread

779


What is a parameter used for?

730


When to use runnable interface vs thread class in java?

753


What is the base class of all exception classes?

816


Can we have static methods in an interface?

792


What are loops in java?

790


How to remove the trailing spaces from a string?

892


What is regex in java?

707