What is the difference between throw and throws?
Answer Posted / sushma
'throw' exception is thrown manually and 'throws' exception
is thrown predefindly.
Is This Answer Correct ? | 23 Yes | 9 No |
Post New Answer View All Answers
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
Can we pass a primitive type by reference in java? How
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
Why java is made?
How does regex work?
How many types of variables are there?
What is static and final keyword in java?
can used Protected Class outside Function.?
Why is core java important?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
Where is java located?
What are the basic control structures?
What is executor memory?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
Describe what a thread-local variable is in java?