Package com.stbasarab.componets
Class Letter
java.lang.Object
com.stbasarab.componets.Letter
Represents a single letter.
This class encapsulates a character and provides access to it.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Letter
public Letter(char character) Constructs a Letter object.- Parameters:
character- the character representing the letter
-
-
Method Details
-
getCharacter
public char getCharacter()Retrieves the character of the letter.- Returns:
- the character of the letter
-