Skip to Content
Data Structures
Arrays of Non-Numbers

Here’s something you might not have known: you can make an array of any collection of Ruby objects. You can make an array of booleans! An array of strings! The possibilities are (almost) endless.



Create a new array called string_array. Make it an array of… strings!

Folder Icon

Take this course for free

Already have an account?