Java 8+. Use String.join() : String str = String.join(",", arr);. Note that arr can also be any Iterable (such as a list), not just an array ... ... <看更多>
Get the full course at: http://www.MathTutorDVD.comIn this lesson, you will learn how to create a string in Java and print the contents to ... ... <看更多>