75.6k views
3 votes
What character, when used at the beginning of the constructor name in a class, makes the class variables have a scope limited to the function?

* (an asterisk)

# (a pound sign)

$ (a dollar sign)

_ (an underscore)

2 Answers

3 votes

Answer:

The answer to your question is _ (an underscore).

I hope this helps you out and I hope that you have a wonderful day.<3<3<3

Step-by-step explanation:

User Jaclynn
by
5.8k points
1 vote

Answer:

_ (an underscore)

Step-by-step explanation:

The underscore character.

__init_ and __str__ have double underscore characters at the beginning and end of the function name.

Correct answer edge 2020

User Ben Aveling
by
5.3k points