reset password
Author Message
axu11
Posts: 4
Posted 08:47 Feb 20, 2020 |

Keenan can you please explain what is meant by the input array vs data field array vs parameter array. I don't know how to manage this. In the main method I am trying to make character arrays and then creating CS2012String objects with those character arrays as parameters. And should those be passed into char[] text data field??

kknaur
Posts: 540
Posted 09:34 Feb 20, 2020 |

The data field array, is the data field array, the only data field in your class.  Parameter array == input array is the array that is coming into the method or constructor.  It could also refer to the array inside of a CS2012String object when you pass that object to the method.