What happens behind the code int data=50/0; ?
Answers
Answered by
3
the output will v as run time error as 50/0 is not defined
Answered by
0
Concept:-
It might resemble a word or a number representation of the quantity's arithmetic value. It could resemble a word or a number that represents the numerical value of the quantity. It could have the appearance of a word or a number that denotes the quantity's numerical value.
Given:-
We have been given that the code int data ?
Find:-
We need to find that what happens behind the code int data ?
Solution:-
Scenario where Arithmetic Exception occurs
If we divide any number by zero, there occurs an ArithmeticException.
int ArithmeticException
Hence, Arithmetic Exception occurs behind the code int data.
#SPJ2
Similar questions