Beginner Object-Oriented Programming Concepts
Q9 / 100

What is a "method" in OOP?

Correct! Well done.

Incorrect.

The correct answer is A) A function defined inside a class that operates on objects of that class

A

Correct Answer

A function defined inside a class that operates on objects of that class

Explanation

Methods define the behaviors of objects and typically access or modify the object's attributes.

Progress
9/100