Advanced Web Technologies MCQs and Notes
P
Q 41. _________ is a blue print of any object in OOP.
S
Q 42. Which one of the following keyword is used to inherit our subclass into a superclass?
A
Q 43. Which one of the following functions is used to determine object type?
R
Q 44. Which one of the following functions is used to determine whether a class exists?
R
Q 45. Which version of PHP introduced the instance of keyword?
G
Q 46. PHP recognize constructors by the name.
P
Q 47. Which of the following statements are true is/are true about constructors in PHP?
(i) PHP 4 introduced class constructors.
(ii) Constructors can accept parameters.
(iii) Constructors can call class methods or other functions
(iv) Class constructors can call on other constructors.
R
Q 48. Which method scope prevents a method from being overridden by a subclass?
R
Q 49. the switch statement is used to perform different actions based on different conditions
P