Answers for "take input as char in java"

3

java input character

import java.util.Scanner;
Scanner inp = new Scanner(System.in);
char character = inp.next().charAt(0);
Posted by: Guest on September-12-2020
6

input char java

char c = reader.next().charAt(0);
Posted by: Guest on August-12-2020

Code answers related to "take input as char in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language