Which of the following programming languages does not treat the semicolon as a statement terminator?
- Java
- Eiffel
- C
- Ada
EXPLANATION
In computer programming, the semicolon is often used to separate multiple statements (for example, in Perl, Pascal, PL/I, and SQL). In other languages, semicolons are called terminators and are required after every statement (such as in Java and the C family). Today, semicolons as terminators have largely won out, but this was a divisive issue in programming languages from the 1960s into the 1980s.
0 comments:
Post a Comment