difference throws and throw in java

Answer Posted / mary kamal

when exception raises if we nt handeling we just throw,and throws is used to handle the exception nt by programer,it is an indication to catch the exception who wer using that class

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are bind parameters?

555


What is the difference between int and integer in java?

520


Explain the importance of throwable class and its methods?

569


Which software is used for java programming?

564


What is scanner in java?

546






How can you say java is object oriented?

597


Explain about the performance aspects of core java?

558


What is the full form of jpeg?

525


What is a heavyweight component?

545


What is math floor in java?

477


Explain an intermediate language?

513


explain local datetime api in java8?

562


Why java is considered as platform independent?

595


Can we increase size of array?

577


Can you start a thread twice in Java?

639