Answers for "how to input a char variable in java"

1

char variable java

char inital = 'N';
// IT IS IMPORTANT TO REMEMBER TO USE SINGLE QUOTES WHEN WRITING CHAR OR IT WON'T WORK
Posted by: Guest on March-28-2021
6

input char java

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

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language