What will happen if we write code like:
try{}catch(exception e)catch(IOException i)

Answer Posted / jahri

yes it should be child exception to base exception

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is close method? How it's different from Finalize & Dispose?

785


What are the 6 mandatory procedures for iso 9001?

732


How do you sort an array in java?

770


Implement two stacks using a single array.

785


What is finalize method?

815


Why constructor has no return type?

829


Does string is thread-safe in java?

800


What is the meaning of I ++ in java?

844


How to perform selection sort in java?

785


What is stored procedure. How do you create stored procedure ?

1735


How do you create a first line indent?

727


What is mean by collections in java?

778


What are the differences between the constructors and methods?

809


What is type parameter in java?

716


Explain the difference between extends thread vs implements runnable in java?

805