Skip to content
Advertisement

How to [flat] merge Merge Multiple Arrays into List in Java

How can I [flat] merge multiple arrays into a single List<String>?

For example:

JavaScript

Advertisement

Answer

Assuming that you wish to add the array of Integers into the same List of Strings:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement