What is the output of the following code? abstract class Calc { abstract public function calculate($param); protected func | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 8

What is the output of the following code? abstract class Calc { abstract public function calculate($param); protected func

25th Apr 2020, 12:53 AM
Mercy Vasquez
Mercy Vasquez - avatar
9 Answers
+ 3
42
8th Dec 2020, 2:07 PM
Christian Erald Tan
Christian Erald Tan - avatar
+ 1
42
27th Mar 2021, 3:36 PM
Daysi Delgado
Daysi Delgado - avatar
+ 1
It's 42
23rd Aug 2021, 11:32 AM
Owethu Sotomela
Owethu Sotomela - avatar
+ 1
42
17th May 2022, 7:58 AM
Megha Raj kandel
+ 1
42
5th Jun 2022, 11:52 AM
Yegor1
Yegor1 - avatar
0
answer
5th Nov 2021, 7:28 PM
GETACHER TADESSE
- 2
The code is not complete and also to get output of php code just run it in the playground instead of asking. We are not PHP compilers!
25th Apr 2020, 1:11 AM
Ore
Ore - avatar
- 2
Don't worry dude it's answer is 42
11th Nov 2020, 2:16 PM
harsh
harsh - avatar