what difference between throw and throws in exception
handling.
Answer Posted / sidd
In case of java if any error occur deuring the exicution
time throw is use to throwing that that into our catch block
for handling and in case of throws if any error
will occur throws can handle that error.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you create a method in java?
Do loops java?
What is the old name of java?
How do you write methodology?
Can you call a method on a null object?
Explain super keyword in java.
Difference between vector and arraylist.
Why you should not use singleton?
Which types of exceptions are caught at compile time?
What is the purpose of java?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
What is method overloading in JAVA? Why is it not present in C ?
What is string [] java?
What are encapsulation, inheritance and polymorphism?
How do generics work in java?