Course Web Pages


1 2 3 4 5 6 7 8 9 10 11 12 13 14

Adding .java files to an existing project

Unit Testing in BlueJ

Course Software

Course Textbook

Objects First With Java - A Practical Introduction using BlueJ

Course Calendar

Related Links

Online Java Courses and Study Guides in Higher Ed

Videos & Animations

Unit 3. Class definitions (part II): fields, constructors, methods

In the last unit, we looked at the outer wrapper of the class definition--the class header and the curly braces that surround the inner details. In the videos below we look at what's inside the wrapper--the fields, constructors and methods that make up the guts of a class.

Java Honors: Overview of Fields, Constructors and Methods

Java Honors: A Closer Look at Methods

Java Honors: Accessors and Mutators (Exercises 2.23-2.35)

Java Honors: Can You Find the Errors?

Java Honors: A Closer Look at printTicket() (Exercises 2.36-2.45)

Java Honors: A Closer Look at printTicket() (Addendum)


Chapter 2, sections 2.4 - 2.11


Chapter 2 exercises 2.10-2.45