nerdexam
Python_Institute

PCAP-31-03 · Question #158

PCAP-31-03 Question #158: Real Exam Question with Answer & Explanation

The correct answer is A. the class component's name will be mangled. See the full explanation below for the reasoning.

Question

If any of a class's components has a name that starts with two underscores (___), then:

Options

  • Athe class component's name will be mangled
  • Bthe class component has to be an instance variable
  • Cthe class component has to be a class variable
  • Dthe class component has to be a method

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice