ReadChar - String s = input.next char c = s.charAt(0 int i...

This preview shows page 1 out of 1 page.

// Java Document: Ashton Innocent import java.util.Scanner; public class ReadChar{ public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.print("Please enter a character: ");

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture