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
How many bits is a string in java?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
Is integer a class?
What is a double vs float?
What is skeleton and stub?
Can we sort list in java?
Can we create a constructor in abstract class?
What is application tier?
Is class forname reflection?
What is a treeset in java?
How does arrays sort work in java?
Does java arraylist maintain insertion order?
What is integers and example?
What are some examples of variable costs?
How is string immutable in java?