Functions (aka method)
public int sumOfTwoNumbers (int a, int b) = method signature
public = access modifier (state who has access to this method)
int = return type
sumOfTwoNumbers = name of the method
(int a, int b) = parameters/arguments of method
Last updated