1.

In PHP 5, how can you write a class so that some of its properties cannot be accessed from outside its methods?

A. By declaring the class as private
B. By declaring the property as private
C. It cannot be done
D. By writing a property overloading method
Answer» C. It cannot be done


Discussion

No Comment Found