what is difference between throw and throws in exception?
Answer Posted / prabakar
throw:
raised the exception which are occured as a method body.
Throws:
it's the communication bridge between calling function and called function.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can you read an integer value from the keyword when the application is runtime in java? example?
What is the benefit of using enum to declare a constant?
What are jee technologies?
Explain java coding standards for variables ?
What is difference between c++ and java ?
How to perform bubble sort in java?
What are generic methods?
Write a function to print Fibonacci series and Tribonacci series?
What are instance variables?
Can we have any code between try and catch blocks?
What is method and methodology?
What are void pointers?
How we can execute any code even before main method?
5 Coding best practices you learned in java?
When can you say a graph to be a tree?