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

Answer Posted / sonal

I knew the answer but tried it to get the exact compile
time error. It reads "exception java.io.IOException is
already been caught".

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic concepts of OOPS?

684


What is the difference between preparedstatement and statement in java?

547


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

550


What is immutable class in java?

508


When we serialize an object does the serialization mechanism saves its references too?

504






What are parameters in a method?

583


Can a class have a static inner class?

604


What is the size of string?

556


What is difference between static class and normal class?

528


Explain about fail safe iterators in java?

563


What must a class do to implement an interface in java programming?

533


What is integer size in java?

506


What is the mapping mechanism used by java to identify IDL language?

588


Implementations of set interface?

562


How many bytes is 255 characters?

548