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

If you omit the visibility keyword in your method declaration, by default the method will be declared as.

Answer & Solution
Correct Answer: Option A
By declaring a method public, you ensure that it can be invoked from outside of the current object.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.