Answer Posted / shanthini
The keyword 'throws' should be used only with the methods while the keyword 'throw'is a clause...
Throws is actually a declaration of any methods and Throw is used to handle the exceptions...
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Which sorting is best in java?
What is the difference between == and === javascript?
What is singleton math?
What is composition in java?
How many wrapper classes are there in java?
How to create packages in java?
Can you run java program without main method?
What if I write static public void instead of public static void in java?
What happens if a constructor is declared private?
What is an argument java?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
How do you override a variable in java?
How does the java compiler work?
Explain the difference between an object-oriented programming language and object-based programming language?
What is the difference between declaration and definition in java?