Methods · 11 of 42 ✓
return
def add(x:Int, y:Int) = { //result type is inferred x + y //"return" keyword is optional } println(add(42,13))