CompTIA ITF+ FC0-U61 Practice Question
What would be the BEST description of an attribute within the context of object-oriented programming?
A characteristic of an object that holds data, like the 'color' of a 'Car' object.
A named section of code that is used to perform a specific task and can be executed when called.
A structure that organizes and stores multiple elements, like a list of 'Car' objects.
A behavior or operation that can be performed by an object, such as 'drive' for a 'Car' object.