Question 2

Last Updated :
Discuss
Comments

How do you create an object of a class named Car?

$obj = new Car();

$obj = Car();

new $obj = Car();

Car obj = new;

Tags:
Share your thoughts in the comments