Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SCALA

Scala methods

def multiply(num1:Int, num2:Int):Int={
		return num1*num2;
	}
print(multiply(2,6))
 
PREVIOUS NEXT
Tagged: #Scala #methods
ADD COMMENT
Topic
Name
1+2 =