Name the type of errors. (Syntax, Runtime, Logical error, Name error) in each case given below.A.Division by a variable that contains a value zero.B.Multiplication operator used when the operation should be division.C.Semicolon is missing in java statement.D.Function name is wrong in excel.
Answers
Answered by
0
Answer:
A. Runtime Error (More specifically, it gives ArithmeticException: division by 0, in Java)
B. Logical Error (logic is incorrect here)
C. Syntax Error (at the end of every statement there must be a semicolon in Java, for the control head to move on to the next statement if any).
D. Name Error (incorrect function name)
Hope this helped.
Similar questions