Answer:
It helps you understand stuff faster
Explanation:
It was the whaling industry.
Whaling use to be the main source of oil that was used for fuel and
lighting in America which was based in the coastal communities of New England. It went into decline when oil was discovered
in 1859. Eventually it replaced whale
oil as a source of fuel and life.
Answer:
Exceptions are raised using throw statement in c++.
Explanation:
Try block is used to keep the statements which we felt that they will raise an exception. Catch block is used to catch the exception which is thrown by the try block.
#include<iostream.h>
void main(){
int x,y,z;
try{
cout<"enter 2 numbers";
cin>>x>>y;
if(y==0)
throw y;
z=x/y;
}
catch(int x){
cout<<"exception caught";
}
}
Answer: True
Explanation:Exception error ,which is also known as the fatal error that arises when there is the program execution going-on and the error occurs suddenly to stop the processing, resulting in the abortion of the execution.This erruptional error is responsible for disturbing the execution flow as well as there are chances of the data getting lost or deleted automatically.