Languages
[Edit]
EN

Java - convert String to List<Character>

12 points
Created by:
Lennie-S
439

1. Using Java 8 stream

Edit

Output:

Note:
In Java there is more then 1 way to create stream of characters from String, take a look on this post:

Java 8 - convert char[] to Stream<Character>

2. Explicit iteration

Edit

Output:

Merged questions

Edit
  1. Java - convert String to List of Characters
  2. How do I create List<Character> from String in java?
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

Java - String conversion

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join