So I know this is probably a super basic question, but I'm new to Java so please be nice to me
I'm trying to create a method that creates and returns a String array, with many elements and the same String stored in all of the elements of my array. (Like say, if I wanted to return an array of 600 elements that stored of the String "hello world" in each one). I'd post the code that I have so far, but I really don't have anything substantial; all I've been able to do is create the method.
I'm sorry to bother everyone with such a simple question, but I've searched online and looked through my textbook, and haven't been able to find anything. Thanks!