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
Will set allow duplicates in java?
Is string serializable in java?
Can inner class have constructor?
How many types of methods are there?
What is super in java?
What is a layout manager and what are different types of layout managers available in java awt?
What are peerless components in java programming?
List out benefits of object oriented programming language?
What is the purpose of static keyword in java?
Can a set contain duplicates?
What is final keyword in java?
Give the hierarchy of inputstream and outputstream classes.
What are the advantages of java inner classes?
What are the 2 types of java programs?
What is a flag and how does it work?