what is difference between throw and throws in exception?
Answer Posted / suman
"throw" is used to handle user-defined exception.
JVM handles the exceptions which are specified by "throws"
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can u increase the heap size in the memory?
What is difference between char array and string?
What is the map interface in java programming?
Write a program in java to establish a connection between client and server?
What is the default size of set in java?
What is nan in java?
How many types of threads are there in java?
What is bitwise complement?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What is the use of StringTokenizer class?
What is java and its types?
Explain when noclassdeffounderror will be raised ?
What is a function in programming?
What is qualitative variable?
What are the loops in java?