RUNTIME:
Runtime refers to the time a program is executed for Compile time, on the other hand, is the time a program takes to compile.
Runtime also refers to the environment in which a program is executed. A number of errors, such as certain mismatched data types and out of bound array indices, can be detected only during runtime, and not when a program is compiled.
The runtime versus compile time paradigm gains significance in terms of type checking some Dynamically Typed languages such as Java, do type checking at runtime and catch errors during the program\\\'s execution.
Dynamically typed languages offer developers flexibility, as the language has the capability to identify a class of objects at runtime and act accordingly.
No comments:
Post a Comment