How is character entered using Scanner class in java
Answers
Answered by
0
Scanner sc = new Scanner (system.in);
c = sc.nextChar( );
c = sc.nextChar( );
Similar questions
Social Sciences,
7 months ago
Math,
7 months ago
Social Sciences,
1 year ago
Science,
1 year ago
Business Studies,
1 year ago
English,
1 year ago