Java Programming   Java Programming
 |Sofia Home | Content Gallery |
Home
Syllabus
Schedule
Lessons
Assignments
Resources

Lesson 7 - Bugs and Exceptions

Most programs contain errors of one kind or another. In this lesson, you'll learn how to recognize different kinds of programming errors, and, more importantly, you'll learn how to fix them.

Lesson 7 sections are as follows:

7.1 Syntax Errors

Learn about syntax errors, structural errors, and type errors, caught by javac.

7.2 Runtime Errors

Learn to recognize and treat the common forms of runtime errors.

7.3 Exceptions Learn Java's Throwable classes, Error and Exception, and how they work.
7.4 Using try-catch-finally

Learn how to use Java's try, catch, and finally statements to tame run-time errors.

7.5 The Debugging Process

Learn to break, understand, fix, and test your Java applications.

7.6 Testing

Learn how to test your Java programs and when to stop testing.

Continue with section 7.1 Syntax Errors

Back to Top
Content Developed by Stephen Gilbert, Licensed under a Creative Commons License
Published by the Sofia Open Content Initiative
© 2004 Foothill-De Anza Community College District &The William and Flora Hewlett Foundation