what is the Use of throws exception?

Answer Posted / ravikiran(aptech mumbai)

throws is used to throw the exception to it's calling method

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the largest number a double can hold?

568


What is java english?

496


Discuss 2D arrays.

611


What are the important features of Java 9 release?

538


What is proper subset?

537






What is dynamic array in java?

531


What is a method header?

550


What are kinds of processors?

571


What is the role of the java.rmi.naming class?

531


What is the different between get and post?

504


How do you clear a list in java?

606


What is the purpose of an interface?

561


What is the difference between multitasking and multithreading in Java

728


what are synchronized methods and synchronized statements? : Java thread

583


What are recursive functions? Give some examples?

621