Q. Which of the following is the correct way to create an object in PHP?
β
Correct Answer: (A)
$obj = new ClassName();
Explanation: Objects are created in PHP using the 'new' keyword followed by the class name and parentheses.