Which type of error is thrown by the application?

You create code that calculates the speed of a vehicle by using the following formula:
Speed = Miles / Hours
When the code runs, the application throws a divide by zero exception.
Which type of error is thrown by the application?

You create code that calculates the speed of a vehicle by using the following formula:
Speed = Miles / Hours
When the code runs, the application throws a divide by zero exception.
Which type of error is thrown by the application?

A.
Compile error

B.
Logic error

C.
Run-time error

D.
Syntax error

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *