what is difference between throw and throws in exception?
Answer Posted / shiva
throw is used for to through exception system explicitly,and
throws is u sed for to throws exception means throws
ioexception and servletexception and etc.........
| Is This Answer Correct ? | 41 Yes | 29 No |
Post New Answer View All Answers
what is abstract class in Java?
What is the difference between static and global variables and also define what are volatile variables?
What is java basic concept?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What is double checked locking in singleton?
What is append in java?
What is data type in computer?
What is an interface in java? Explain
What is difference between word and integer?
Why main method is static in java?
Why can't we override private static methods?
What is lexicographically smallest string?
Do you know how to reverse string in java?
Can java inner class be static?
How can we create objects if we make the constructor private ?