What is the difference between throw and throws?
Answer Posted / ravikiran
throw will declare an exception
throws will throw the exception to the calling method
| Is This Answer Correct ? | 16 Yes | 8 No |
Post New Answer View All Answers
What is classname class in java?
What is the basic of java?
What is a modifier?
What are white spaces in java?
What is byte code and why is it important to java’s use for internet programming?
How many types of interfaces are there?
Can we force garbage collector to run ?
What is meant by distributed application? Why are we using that in our application?
What is use of arraylist in java?
What is user defined exception in Java?
What is floor in java?
How strings are created in java?
What are the advantages of compiled language?
how to create constants in java?
What is mean by collections in java?