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 are synchronized methods and synchronized statements in java programming?
What are "class access modifiers" in Java?
Why is it called boolean?
What is tochararray in java?
What is math in java?
what type of questions asked for barclays technologies pune please send urgent
What is anagram of a string?
Where pragma is used?
What is difference between variable declaration and definition?
Why we cannot override static method?
Write code of any action class?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What is double checked locking in singleton?
What is the null?
what are abstract functions?