Quantcast
Channel: Initialization of an ArrayList in one line - Stack Overflow
Viewing all articles
Browse latest Browse all 37

Answer by Manoj Kumar for Initialization of an ArrayList in one line

$
0
0

For me, Arrays.asList() is the best and most convenient one. I always like to initialize that way.If you are a beginner in Java Collections then I would like you to refer ArrayList initialization.


Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>