Solved

Assume That Class Time's __Init__ Method Receives Hour, Minute and Second

Question 14

Multiple Choice

Assume that class Time's __init__ method receives hour, minute and second parameters. Based on the following code: wake_up = Time(hour=6, minute=30)
Which of the following statements is true?


A) If at least two arguments have default arguments, the third automatically defaults to zero.
B) Any omitted argument is automatically set to zero.
C) second has a default argument in the __init__ method's definition.
D) None of the above.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions