Answers for "java map ints to char"

5

int to char java

int a = 65;  
char c = (char)a; 
System.out.print(c);// Printing: A
Posted by: Guest on January-26-2021
0

java stream map int to char

hello.chars()
        .mapToObj(i -> (char)i)
        .forEach(System.out::println);
Posted by: Guest on February-05-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language