Class LetterL

java.lang.Object
  extended by LetterL

public class LetterL
extends Object

This class describes Letter L objects that can be displayed using asterisks and new lines


Constructor Summary
LetterL(int aHeight, int aWidth)
          Constructs a letter L object.
 
Method Summary
 String toString()
          Computes a string representing the letter L.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LetterL

public LetterL(int aHeight,
               int aWidth)
Constructs a letter L object.

Parameters:
aHeight - the height of the letter (number of * on first column).
aWidth - the width of the letter (number of * on last row).
Method Detail

toString

public String toString()
Computes a string representing the letter L.

Overrides:
toString in class Object
Returns:
a string consisting of * and newline characters