What is the difference between compile time error and run time error?
Some main differences between compiler time error and run time error are given below:
1.Compile time error are semantic and syntax error. Where Run time error are memory allocation error e.g. segmentation fault.
2.Compile time errors comes because of improper Syntax.Where In java Run time Errors are considered as Exceptions.Run time errors are logical errors.
3.Compile time errors are handled by compiler. where Run time errors are handled by programmers.