Explain the difference between a compile-time error and a run-time error. Give an example of each.
What will be an ideal response?
A compile-time error will cause the compiler to exit with an error, and therefore the program will not be properly
translated. A program with a run-time error will compile and be translated, but will crash or throw an exception while it is running.
An example of a compile-time error is forgetting a semicolon. An example of a run-time error is dividing by zero.
Computer Science & Information Technology
You might also like to view...
An Inner Join displays data in the record set of a query where the values in both fields used to create the join are ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
URL stands for Universal Record Locator
Indicate whether the statement is true or false
Computer Science & Information Technology