Starting Out With C++: Early Objects (10th Edition)
Starting Out With C++: Early Objects (10th Edition)
10th Edition
ISBN: 9780135235003
Author: Tony Gaddis, Judy Walters, Godfrey Muganda
Publisher: PEARSON
bartleby

Concept explainers

Question
Book Icon
Chapter 16.1, Problem 16.1CP
Program Plan Intro

Exception Handling:

  • Exception is an error; it will occur when the application is running.
    • The error is generated by the code; it will terminate the running application.
  • The exception handling is used to resolve the abnormal termination of an application.
  • In order to handle an exception, construct a “try/catch” block in a program.

Blurred answer
Students have asked these similar questions
Explain the difference between a try block and a catch block.
No restriction exists on the number of arguments permitted in a catch block.
There is no maximum number of arguments that may be used inside a catch block since this kind of block does not have a parameter restriction.

Chapter 16 Solutions

Starting Out With C++: Early Objects (10th Edition)

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
    EBK JAVA PROGRAMMING
    Computer Science
    ISBN:9781337671385
    Author:FARRELL
    Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT