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
→
An inherited class is defined by using t...
Q.
An inherited class is defined by using the------keyword Sol:
A.
inheritance
B.
public
C.
extends
D.
private
Answer» C. extends
763
0
Do you find this helpful?
2
View all MCQs in
Advance PHP
Discussion
No comments yet
Login to comment
Related MCQs
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:
--------in OOP When a class derives from another class. Sol:
Class constants can be useful if you need to define some-------data within a class Sol:
A class constant is declared inside a class with the-----keyword. Sol:
An------class is a class that contains at least one abstract method Sol:
An abstract class or method is defined with the------keyword: Sol:
The----class method must be defined with the same name and it re declares the parent abstract method Sol:
The-----class method must be defined with the same or a less restricted access modifier Sol:
-----of a class is created using the new keyword Sol:
Objects of a class is created using the-----keyword Sol: