Beginner Object-Oriented Programming Concepts
Q32 / 100

What is "dot notation" commonly used for in OOP?

Correct! Well done.

Incorrect.

The correct answer is A) Accessing an object's attributes and methods, e.g. object.attribute or object.method()

A

Correct Answer

Accessing an object's attributes and methods, e.g. object.attribute or object.method()

Explanation

Dot notation lets you reach into an object to read attributes or invoke its methods.

Progress
32/100