I believe you can add objects use list.add(); However, is there an alternative way of making an ArrayList of strings? Something like ArrayList(“heyey”,”hgfhgfh”,”fhfghgf”) ?
I believe you can add objects use list.add(); However, is there an alternative way
Share
Or if you’re kickin’ it old school: