Vidyalelo
PHP · Q15

Object Oriented Concept

Programming · PHP · question 15

Q15

Which method or property can only be accessed from within the enclosing class? Even subclasses have no access.

A.
public
B.
friendly
C.
private
Answer
D.
protected

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board