Php Objective Questions with Answers for written test exams 72

Question 72
What is the output of the following code snippet?


class Vehicle {

\}

class Car extends Vehicle {

\}

class Ferrari extends Car {

\}

var_dump(get_parent_class(“Ferrari”));

?>

A. string(7) “Vehicle“

B. string(3) “Car“

C. array(2) {

[0]=>

string(7) “vehicle“

[1]=>

string(3) “car“

\}
Answers 72


A

  







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---