Arrays are often used in object-oriented programming, where they can be used to store and manipulate data.