What is the difference between throw and throws?
Answer Posted / ravikiran
throw will declare an exception
throws will throw the exception to the calling method
| Is This Answer Correct ? | 16 Yes | 8 No |
Post New Answer View All Answers
What do you mean by stack?
Objects or references which of them gets garbage collected?
How do I know if java is installed?
Can you inherit a constructor java?
What is t in parametric equations?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What is bubble sort in java?
What is a consumer in java?
Can you inherit from an abstract class java?
What is the difference between a constructor and a method?
What is the difference between a synchronized method and a synchronized block?
What does jre stand for?
Are floats faster than doubles?
What is unicode datatype?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?