+ 1
What’s the error in this code
Please tell me what I am doing wrong https://code.sololearn.com/w7tcWKPeQ7BC/?ref=app
5 Antworten
+ 1
and --->>> &&
+ 1
We need to be clear that it is `name` field of `animal` class instance that we desire.
Replace $name with $this -> name at line 15 and 23
+ 1
Ty
0
Tried it but still doesn’t work
0
And now remove the extra brackets and make the expression between if and { be in the same brackets ( )