In object-oriented programming, methods are functions or procedures associated with an object that perform actions such as retrieving data: "Methods are actions that an object can perform. They typically manipulate or retrieve data stored within the object." Variables store data, attributes define properties, and loops control repetition but do not directly handle data retrieval within objects.