Examveda
Examveda

Which keyword precedes a method name?

A. method

B. function

C. public

D. protected

Answer: Option B

Solution(By Examveda Team)

A method declaration resembles a function declaration. The function keyword precedes a method name, followed by an optional list of argument variables in parentheses.

This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept