Graphing
Calculator
Math
Worksheets
Scientific
Calculator
Chart
Maker


Home
Graphing Calc
Algebra
Fun Games
Geometry
Interactive
Trigonometry
Scientific Calc
Home
Graphing Calc
Algebra
Fun Games
Geometry
Interactive
Trigonometry
Scientific Calc

Create a project and Class with BlueJ

Hello World, BlueJ Style

The only assumptions that this tutorial makes is that a student has some sense of what a class is as well as what System.out.println() method does.


Mini Programming Assignment

In the prior tutorial, we learned how to create a BlueJ project and work with BlueJ objects. We also had our first introduction to creating objects, overloading constructors and employing code reuse.
Project: Employ code reuse and constructor overloading to print out 4 different messages. Note: you should have a total of 4 overloaded constructors.

Below is a picture of what your constructors might look like
Solution

Final Question

Does teh call to this() need to be the first line in an overloaded constructor?