Class FormLetterGenerator
java.lang.Object
FormLetterGenerator
public class FormLetterGenerator
- extends Object
Class used to generate form letters
- Author:
- Barbara Ericson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormLetterGenerator
public FormLetterGenerator()
writeLetter
public void writeLetter(String title,
String lastName,
String city,
String eyeColor)
- Method to generate a form letter
- Parameters:
title
- the person's title (Mr., Mrs., Dr.)lastName
- the last name for the recipientcity
- the name of the city for the recipienteyeColor
- the eye color of the recipient
main
public static void main(String[] args)