Certified Associate in Python Programming (PCAP-31-03) — Question 77

What is true about Python class constructors? (Choose two.)

Answer options

Correct answer: A, D

Explanation

Option A is correct because the constructor in Python is indeed defined by the method __init__. Option D is also correct as constructors require at least one parameter, typically 'self', to initialize the class instance. Options B and C are incorrect; Python does not support multiple constructors directly, and constructors do not return values other than None.