+ 1
I want to make this code. I have error. Thanks you.
2 Answers
+ 5
Error:
You haven't created object to invoke behaviour () you directly did it with Sentence class object ,u can't invoke like that so, it's throwing you the error .
No more errors apart from this:))
0
Behavior() is belong to Person class, but you called it with item5 TheSentence.