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

Which methods are used during serialization and deserialization process?

755


How do you stop a thread in java?

838


Why we use methods in java?

761


What is the difference between the paint() and repaint() methods in java programming?

913


What is boolean query?

768


When is the finalize() called? What is the purpose of finalization?

844


What is the use of join method?

812


What is void data type?

769


Can a constructor be private and how are this() and super() method used with constructor?

759


What is difference between class and object in java?

770


which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3448


Why call by value prevents parameter value change?

830


What is bigger kb or mb?

807


Can private class be extended java?

779


What is diamond operator in java?

728