Question: Why can t we have first as the only parameter with an optional argument. Only the last argument can be optional. The first argument can
Why cant we have first as the only parameter with an optional argument.
Only the last argument can be optional.
The first argument can never be optional.
Once one argument is optional, every argument after than one must be as well.
Making first optional is less interesting.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
