IT Questions and Answers :)

Wednesday, November 22, 2017

Which of the following programming languages does not treat the semicolon as a statement terminator?

Which of the following programming languages does not treat the semicolon as a statement terminator?

  • Java
  • Eiffel
  • C
  • Ada 
Which of the following programming languages does not treat the semicolon as a statement terminator?

 

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.

SOURCE

https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax)
Share:

Popular Posts

Blog Archive