21. The pseudo-variable ...... is available inside any class method when that method is called from within an object context.
22. A class may contain its own .............
23. Child classes are defined using the keyword .....
24. In PHP, the difference between double quote and single quote is that variables . . . . in single quoted strings whereas they . . . . . in double quoted strings.
25. 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.
26. 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);
27. What is the value of var?
$var = 'HELLO WORLD!';
$var = ucfirst($var);
$var = 'HELLO WORLD!';
$var = ucfirst($var);
28. The functions strtolower() and strtoupper() work on individual characters and not on entire strings.
29. Heredoc's are a great alternative to quoted strings because of increased readability and maintainability.
30. Which of the below is most useful for debugging:
Read More Section(Object Oriented Concept)
Each Section contains maximum 100 MCQs question on Object Oriented Concept. To get more questions visit other sections.