CSC 172 - Introduction to Algorithms and Data Structures

Dr. R. M. Siegfried

Assignment #3 - A Class for A Name

Due Friday, February 14, 2014

You are going to design (and code) a class called Name. The class Name will contain three properties:

The class has three constructors:

In addition to the constructors, the Name class has the following methods:

Write another class complete with a main()that uses the new class that you wrote and demonstrates that these methods all work correctly.

[Back to the Assignment Index]