Tag: java robust

How Java is “Robust”(Strong) ?



In the programming languages like C, C++, PASCAL etc there is no facility for addressing runtime errors. Hence, C, C++, PASCAL, COBOL etc languages are treated as weak programming languages.
The language Java contains a distinct facility called exception handling, which will address runtime errors effectively.
Hence, Java language is populated as one of the strong programming language.

Compile-time errors are those which are listed/resulted provided the programmer is not following syntaxes of the language.
Runtime errors are those which are listed/resulted when the normal user enters invalid input.