McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2025
→
Bachelor of Business Administration in ...
→
Advance PHP
→
OOP
→
-----of a class is created using the new...
Q.
-----of a class is created using the new keyword Sol:
A.
object
B.
$this
C.
instanceof
D.
class
Answer» A. object
3.7k
0
Do you find this helpful?
22
View all MCQs in
Advance PHP
Discussion
No comments yet
Login to comment
Related MCQs
Objects of a class is created using the-----keyword Sol:
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 Sol:
A class constant is declared inside a class with the-----keyword. Sol:
An inherited class is defined by using the------keyword Sol:
A class can have both static and non-static methods. A static method can be accessed from a method in the same class using the-----keyword and double colon (::)
You can use the----keyword to check if an object belongs to a specific class Sol:
An abstract class or method is defined with the------keyword: Sol:
To implement an interface, a class must use the-------keyword. Sol:
The-----keyword refers to the current object, and is only available inside methods Sol:
Interfaces are declared with the------keyword. Sol: