What will happen if we write code like:
try{}catch(exception e)catch(IOException i)
Answer Posted / sitaram
it is not complied. because first catch having child
exception and last exception having parent exception is must.
correct answer is :
try{
}
catch(IOException i){
}
catch(Exception e){
}
| Is This Answer Correct ? | 19 Yes | 2 No |
Post New Answer View All Answers
What is data string?
Explain the difference between map and flatmap stream operation?
What is object of class in java?
What is the differences between c++ and java? Explain
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
Who is founder of java?
Which is best ide for java?
Explain some best practices you would apply while using collection in java?
What is compiler and what its output.
Is passing by reference faster?
How many bytes is string in java?
How many unicode characters are there?
Difference between this() and super() in java ?
What is visibility mode?
Outline the major features of java.