R Rakesh Kumar π Hard Worker β 28.44K Points π Advanced Web Technologies Q. A destructor is called when the object is destructed or the script is stopped or exited. (A) true (B) false (C) both a and b (D) none of these ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) true
V Vinay π Mover β 28.75K Points π Advanced Web Technologies Q. If you create a _______function, PHP will automatically call this function when you create an object from a class. (A) __construct() (B) ___destruct() (C) both a and b (D) none of these ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) __construct()
R Ranjeet π Tutor III β 34.60K Points π Advanced Web Technologies Q. A constructor allows you to initialize an object's properties upon creation of the object. (A) true (B) false (C) both a and b (D) none of these ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) true
P Priyanka Tomar π Tutor III β 35.28K Points π Advanced Web Technologies Q. Classes and objects are the two main aspects of __________________ (A) object oriented programming (B) constructor and destructor (C) object and array (D) none of these ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) object oriented programming
R Ram Sharma π Coach β 193.88K Points π Advanced Web Technologies Q. An inherited class is defined by using the extends keyword. (A) true (B) false (C) both a and b (D) none of these ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) true
V Vikash Gupta π Tutor III β 33.56K Points π Advanced Web Technologies Q. In PHP, there are three types of arrays one is not type of array in php which one: (A) Indexed arrays - (B) Associative arrays - (C) Multidimensional arrays - (D) polygamy array ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (D) polygamy array
V Vijay Sangwan π Mover β 28.62K Points π Advanced Web Technologies Q. To implement an interface, a class must use the______ keyword. (A) interface (B) abstract class (C) implements (D) None of these ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (C) implements
V Vinay π Mover β 28.75K Points π Advanced Web Technologies Q. Interface are similar to abstract classes. The difference between interfaces and abstract classes are Interfaces cannot have properties, while abstract classes can have. (A) interface (B) abstract class (C) implements (D) None of these ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) interface
R Rakesh Kumar π Hard Worker β 28.44K Points π Advanced Web Technologies Q. Interfaces are declared with the ________ keyword: (A) interface (B) abstract class (C) implements (D) None of these ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) interface
P Priyanka Tomar π Tutor III β 35.28K Points π Advanced Web Technologies Q. Interfaces allow you to specify what methods a class should implement. (A) true (B) false (C) both a and b (D) none of these ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) true