All PHP classes come with a default constructor that takes .... arguments.
A.one
B.two
C.three
D.no
Anonymous:
Hi.
Answers
Answered by
0
options b correct because all the PHP classes comes with a default constructor that takes arguments argument which are truly necessary
Answered by
0
All PHP classes come with a default constructor that takes D. no arguments.
Explanation for the answer:
- PHP allows developers to declare various constructor methods for classes.
- Default constructors is a constructor which doesn't take any argument but its values can be passed dynamically.
- It doesn't have parameters.
- All PHP classes come with a default constructor that takes no arguments.
- Hence, the correct answer among all the options is option D.no.
(#SPJ3)
Similar questions
Math,
7 months ago
French,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Physics,
1 year ago
Math,
1 year ago