How to Convert Primitive Array to List Object in Java

Convert Primitive Array to List Object in Java

In this tutorial, I am sharing simple program about, How to Convert Primitive Array to List Object in Java. The program has been tested with environment and output is shared in the same post.

ArrayProgramExample.java

Output

—————

[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]

References

1. Java API Documentaion