what is difference between throw and throws in exception?
Answer Posted / ramya
throw - used to handle user-defined exception
throws -jvm(java virtual machine) going to take all exception
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the exception hierarchy in java?
What is the method to expand and collapse nodes in a jtree?
What is difference between classpath and path variables in java?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
v-model life cycle
What is skeleton and stub?
What is a short in java?
Give few difference between constructor and method?
Define reflection.
Differentiate between a class and an object.
What are design patterns and please explain?
What is the use of jtable?
What is the use of parse function in java?
Explain about OOPS concepts and fundamentals.
What is unmodifiable collection in java?