Computer Science, asked by bhavsarpreet2606, 2 months ago

The object that we throw must be of which of the following Java class type ?

a) java.lang.throw

b) java.lang.catch

c) java.lang.throws

d) java.lang.throwable​

Answers

Answered by raminderdeepsinghdhi
1

Answer:

the answer of questions is d

Answered by deepalmsableyahoocom
0

Answer:

Java Throw. The throw keyword is used to throw an exception explicitly. Only object of Throwable class or its sub classes can be thrown. Program execution stops on encountering throw statement, and the closest catch statement is checked for matching type of exception.

Similar questions