Answers for "convert char array to int java"

2

java chararray to int

char[] digits = { '1', '2', '3' };
int number = Integer.parseInt(new String(digits));
Posted by: Guest on March-14-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language