Which keyword precedes a method name?
A
method
B
function
C
public
D
protected
Correct Answer: function
A method declaration resembles a function declaration. The function keyword precedes a method name, followed by an optional list of argument variables in parentheses.