100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CCPS 209 midterm 2 test questions & answers 2024/2025 £6.52   Add to cart

Exam (elaborations)

CCPS 209 midterm 2 test questions & answers 2024/2025

 4 views  0 purchase
  • Module
  • CCPS 209
  • Institution
  • CCPS 209

CCPS 209 midterm 2 test questions & answers 2024/2025

Preview 1 out of 1  pages

  • September 20, 2024
  • 1
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CCPS 209
  • CCPS 209
avatar-seller
CCPS 209 midterm 2 test questions &
answers 2024/2025

exception - ANSWERSAn exception is a problem that occurs when a program is running. Often the
problem is external to the program, such as bad user input, or mechanical failure of an I/O device. When
an exception occurs, the Java virtual machine creates an object of class Exception which holds
information about the problem.



error - ANSWERSAn error, also, is a problem that occurs when a program is running. An error is
represented by an object of class Error. But an error is too severe for a program to handle. Most
application programs must stop running.



Throwable - ANSWERSClass Exception and class Error both extend Throwable. A Java method can
"throw" an object of class Throwable. (We will do this later on in this chapter.) For example, Scanner
threw an exception when it tried to convert "rats" into an integer.



exceptions vs errors - ANSWERSExceptions are different from Errors because programs can be written to
recover from Exceptions, but programs can not be written to recover from Errors. The rest of this chapter
discusses Exceptions.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Bensuda. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £6.52. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79223 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
£6.52
  • (0)
  Add to cart