Question: Write a method, strToArr, which takes one argument, aString , and returns a character array that represents the String. For example, strToArr(hi) should return {'h',
Write a method, strToArr, which takes one argument, aString , and returns a character array that represents the String. For example,
strToArr("hi") should return {'h', 'i' }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
