QuestionQ49

VerifiedAdvanced Object-Oriented Programming

Review the following code snippet and choose the statement that most accurately describes it.

Question Image

Explanation

self.name is an instance attribute because it is assigned through self in the initializer. Its assigned value is Excalibur.

Community Discussion

No comments yet. Be the first to start the discussion!