Write a method f that accepts an ArrayList containing String objects. The method should return a String containing the first character of each string in the ArrayList, in the order in which they appear

Write a method  f that accepts an ArrayList containing String  objects. The method should return a String  containing the first character of each string  in the ArrayList, in the order in which they appear

LANGUAGE: JAVA

CHALLENGE:

Write a method f that accepts an ArrayList containing String objects. The method should return a String containing the first character of each string in the ArrayList, in the order in which they appear. Thus, if the ArrayList contains the Strings : Hello world goodbye the return value of the method would be the String Hwg

This content requires that you purchase additional access. The price is $2.99 or free for our Make Life Easier and 30 Days – Not Recurring members.

Purchase this Content ($2.99) Choose a Membership Level