what is difference between throw and throws in exception?
Answer Posted / prasanna
throw - It is used to throw an Exception.
throws - This is used to specifies that the method can
throw Exception
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is singleton class in java?
v-model life cycle
What is difference between this and super keyword?
Is arraylist a class in java?
How to create an immutable class?
what type of questions asked for barclays technologies pune please send urgent
Write a program to find maximum and minimum number in array?
How does multithreading take place on a computer with a single cpu?
Why array is used in java?
How do you write a good declaration?
what are the high-level thread states? : Java thread
Differentiate between postfix and prefix operators in java.
What does flag mean in java?
What are the classes of java?
Why vector class is used?