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
→
-------keyword is used in interface Sol:
Q.
-------keyword is used in interface Sol:
A.
abstract
B.
child
C.
interface
D.
implement
Answer» D. implement
838
0
Do you find this helpful?
7
View all MCQs in
Advance PHP
Discussion
No comments yet
Login to comment
Related MCQs
To implement an interface, a class must use the-------keyword. Sol:
A class that implements an interface must------all of the interface's methods. 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:
-----of a class is created using the new keyword Sol:
The-----keyword refers to the current object, and is only available inside methods Sol:
Objects of a class is created using the-----keyword Sol:
You can use the----keyword to check if an object belongs to a specific class Sol:
An inherited class is defined by using the------keyword Sol:
A class constant is declared inside a class with the-----keyword. Sol:
An abstract class or method is defined with the------keyword: Sol: