Question: Write a method that returns an array list of Character from a string using the following header: public static ArrayList toCharacterArray(String s) For example, toCharacterArray(abc)
Write a method that returns an array list of Character from a string using the following header:
public static ArrayList toCharacterArray(String s)
For example, toCharacterArray("abc") returns an array list that contains characters 'a', 'b', and 'c'.
Step by Step Solution
3.37 Rating (166 Votes )
There are 3 Steps involved in it
import javautilArrayList public class Exercise1118 public sta... View full answer
Get step-by-step solutions from verified subject matter experts
