Question
Is it necessary that each try block must be followed by a catch block

Answers

It is not necessary that each try block must be followed by a catch block. It should be followed by either a catch block OR a finally block. And whatever exceptions are likely to be thrown should be declared in the throws clause of the method.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Which boys name means - he who resembles God
  • Q What is AOL's 'art' format?
  • Q Who proposed social constructivism?
  • Q Artocarpus integra is the scientific name of
  • Q CONNECTED AND UNCONNECTED LOOKUP TRANSFORMATION - INFORAMTICA
  • Q From what language do we get most of our Scientific terms?
  • Q Thermoplastics are very useful in the manufacture of mobile phone casings. Name a thermoplastic used for this purpose?
  • Q Who is the founder of Pakistan
  • Q Where to assign activity type in cost centers? or how to link cost centers & activity types?
  • Q Sudden appearance of ancesstral charectors in present day organisms is called:
  • Q How node prevents blocking code?