Lab05d - test.setChar(letter out.println(test...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//© A+ Computer Science - www.apluscompsci.com //Name - //Date - //Lab - import static java.lang.System.*; import java.util.Scanner; public class Lab05d { public static void main ( String[] args ) { Scanner keyboard = new Scanner(System.in); out.print("Enter a letter :: "); char letter = keyboard.next().charAt(0); CharacterAnalyzer test = new CharacterAnalyzer(letter); out.println(test); out.print("Enter a letter :: "); letter = keyboard.next().charAt(0);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: test.setChar(letter); out.println(test); out.print("Enter a letter :: "); letter = keyboard.next().charAt(0); test.setChar(letter); out.println(test); out.print("Enter a letter :: "); letter = keyboard.next().charAt(0); test.setChar(letter); out.println(test); out.print("Enter a letter :: "); letter = keyboard.next().charAt(0); test.setChar(letter); out.println(test); } }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online