You are not logged in.

#1 2015-06-08 06:22:12

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Throw And Throws:

Question:
What is the difference between throw and throws?

Option A):
The throw key word is used to explicitly throw an exception, while throws is utilized to handle checked exceptions
Option B):
The throws key word is used to explicitly throw an exception, while throw is utilized to handle checked exceptions
Option C):
The throw key word is used to implicitly throw an exception, while throws is utilized to handle checked exceptions
Option D):
The throws key word is used to implicitly throw an exception, while throw is utilized to handle checked exceptions

Correct Answer is Option A):
The throw key word is used to explicitly throw an exception, while throws is utilized to handle checked exceptions


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-06-08 06:22:12

Advertisement
Ads By Google

Re: Throw And Throws:



Board footer