Announcements

7/25/99


Click here to start


Table of Contents

Announcements

Today�s Topics

Exceptions

Why Worry?

Uncaught Exceptions

What if we do want to catch it? -- try

The try statement -- syntax

What can we gather?

Example -- catching input error

The throw statement

Defining our own exceptions

Method/Constructor overloading

Method signatures

Overloading constructors

Example of overloaded constructors

Use of previous constructors

Overloading vs. overriding methods

Abstract

Example

Abstract and non-abstract

Interfaces, briefly

Interfaces get very tricky

Author: millett

Email: millett@cs.cornell.edu

Home Page: http://www.cs.cornell.edu/cs100-su99/

Other information:
CS 100 Summer 1999 Lecture Notes