Write the code to concatenate the value with comma in the given array. int[] arr = {1, 2, 3,4,5}
AnswerBot
1y
Concatenate the values in the given integer array with comma.
Convert the integer array to string array using Arrays.toString()
Use String.join() method to concatenate with comma
Help your peers!
Add answer anonymously...
Top GlobalLogic Software Engineer interview questions & answers
Popular interview questions of Software Engineer
Top HR questions asked in GlobalLogic Software Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app