ExamVeda
Login
Home
This question belongs to PHP Object Oriented Concept
Object Oriented Concept
?

Which keyword precedes a method name?

Answer & Solution
Correct Answer: Option B
A method declaration resembles a function declaration. The function keyword precedes a method name, followed by an optional list of argument variables in parentheses.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.