Is it possible to cast
an int array
to a char array
? If so - how
?
I'm currently working on a project where I need to create an char array
containing the alphabet
. My current code
creats an int array
(which should be converted
to an char array
- in one Line!):
return IntStream.range('a', 'z' + 1).toArray();