| 1 | import java.util.Scanner; |
| 2 | |
| 3 | public class ReadChar { |
| 4 | public static void main(String[] args) { |
| 5 | Scanner sc = new Scanner(System.in); |
| 6 | |
| 7 | System.out.println("Enter a character"); |
| 8 | char ch = sc.next().charAt(0); |
| 9 | System.out.println("Character is: " + ch); |
| 10 | |
| 11 | } |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected