What error occurs if a try-catch-finally statement sequence
does not have a catch clause?
Answers were Sorted based on User's Feedback
Answer / nagaraju
we can have try block with out catch block, but we should
have finally block after try block(if catch block is not
there). If any exception occurs in the try block or not
finally block will be executed.
| Is This Answer Correct ? | 2 Yes | 1 No |
which one is performance wise advantageious from List,Set,Map?
What is a function in programming?
Which of these methods belong to Thread & Object class? join, yield, sleep, wait, notify
What is singletonlist in java?
When should the method invokelater() be used?
public class Base { public void myMethod(int a,intb) {} } // Uses myMethod and then hides it. public class DerivedOne extends Base { private void myMethod(int a,int b); } will this compile or not .yes or no. why
Can we override tostring method in java?
Can a Byte object be cast to a double value?
What is the difference between an object-oriented programming language and object-based programming language?
What is the final keyword in java?
What is bigger kb or mb?
What is protected and friendly?