A class is defined by using the..-keyword, followed by the name of the class and a pair of curly braces ({}). All its properties and methods go inside the braces

🎲 Try a Random Question  |  Total Questions in Quiz: 60  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Advanced PHP Practice Test: OOP — practice the complete quiz, review flashcards, or try a random question.


A class is defined by using the..-keyword, followed by the name of the class and a pair of curly braces ({}). All its properties and methods go inside the braces