You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printName(first = "John", last = "Smith") // Prints "John Smith"
and
val point1 = new Point(y = 1)
I suppose the val point2 = new Point(y=2) is the convention (no space between the argument and the value). It would be great if we can make it consistent.
The text was updated successfully, but these errors were encountered:
In section Class I found we have a named argument:
However in section Named Arguments and Default Parameter Values we have:
and
I suppose the
val point2 = new Point(y=2)
is the convention (no space between the argument and the value). It would be great if we can make it consistent.The text was updated successfully, but these errors were encountered: