Vidyalelo
PHP · Q63

Object Oriented Concept

Programming · PHP · question 63

Q63

In the PHP code given below, what is/are the properties?

A.
echo “This is an example”;
B.
public $name;
Answer
C.
class Example
D.
function sample()

Answer: Option B

Solution

Answer: Option B
Solution:
Yes they are nothing but variables.