121. When you extend a class, the subclass inherits all of the ........ methods from the parent class.
122. The pseudo-variable ...... is available inside any class method when that method is called from within an object context.
123. A class may contain its own .............
124. Child classes are defined using the keyword .....
125. In PHP, the difference between double quote and single quote is that variables . . . . in single quoted strings whereas they . . . . . in double quoted strings.
126. PHP strings are binary-safe (i.e. they can contain null bytes) . Their size is limited only by the amount of memory that is available to PHP.
127. What is the output of below statement?
Print substr (‘watch out for that tree’,20,5);
Print substr (‘watch out for that tree’,20,5);
128. What is the value of var?
$var = 'HELLO WORLD!';
$var = ucfirst($var);
$var = 'HELLO WORLD!';
$var = ucfirst($var);
129. The functions strtolower() and strtoupper() work on individual characters and not on entire strings.
130. Heredoc's are a great alternative to quoted strings because of increased readability and maintainability.
Read More Section(Object Oriented Concept)
Each Section contains maximum 100 MCQs question on Object Oriented Concept. To get more questions visit other sections.