What is the difference between throw and throws?
Answer Posted / anjna garg
throw is always use in catch eeception and throws is not
use in catch exception
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How many ways can an argument be passed to a subroutine and explain them?
What is the most important feature of java? What is an interface?
What is an error in java?
explain what is transient variable in java?
What is the use of set in java?
What is the purpose of the file class in java programming?
What is a two-pass assembler?
How is string immutable in java?
Garbage collection in java?
How many bytes is a unicode character?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
What is the difference between menuitem and checkboxmenu item?
What is a hashmap used for?
What is the purpose of declaring a variable as final?
What comes to mind when someone mentions a shallow copy in java?