What is “try and catch” in java

Answer Posted / sudhir

when there is a situation for user input and user not give
according to code there try and catch use.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are static members inherited to sub classes?

907


What is an argument in java?

721


Can a static member function access member variable of an object?

796


What is java and why do we need it? Explain

818


What is role of void keyword in declaring functions?

824


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

881


What is local declaration?

723


What are the differences between include directive and include action?

787


How do you declare a string variable?

763


What are the 6 boolean operators?

794


What is pangram in java?

777


What is the abstract class?

789


Can Exception handling we can handle multiple catch blocks?

851


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

4419


What is class forname used for?

799