Concepts Of Programming Languages
Concepts Of Programming Languages
12th Edition
ISBN: 9780134997186
Author: Sebesta, Robert W.
Publisher: Pearson,
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 1, Problem 17PS

Explanation of Solution

Chances of syntax errors between Pascal and Java while using semicolon:

Pascal uses semicolons to separate statements while JAVA uses semicolons to terminate statements.

  • One of these approaches is more natural while the other is more error free syntactically.
  • We personally feel that the Pascal approach is more natural as semicolons are used in English to separate different parts of a sentence.
  • So, it should come naturally to an English speaker that a semicolon should be used to separate statements.
  • So, this approach seems more natural. While the approach used by JAVA is less to prone to syntactic errors...

Blurred answer
Students have asked these similar questions
Some programming languages—for example, Pascal—have used thesemicolon to separate statements, while Java uses it to terminatestatements. Which of these, in your opinion, is most natural and leastlikely to result in syntax errors? Support your answer.
In terms of debugging, what are the advantages and disadvantages of manual walkthroughs over printed statements? Discuss?
Plese solve this following question of the concept of object and class in Java program. Please answer this as soon as possible. Thank you in advance.

Chapter 1 Solutions

Concepts Of Programming Languages

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage