Scally defined a function in the new Scala program yesterday, but totally forgot how. The only thing she remembers is a general concept def name(argument: Int): Long = argument + 3. What parts could she omit when writing any function?
Introduction to functions
Forgetful programmer
Report a typo
Select one or more options from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.