0
You did call Behaviour with: " item5.Behavior (item5 ,item6 );"
Your code runs without error.
What is your question? You're doing what you say you want to do. It isn't clear what you consider to be a problem.
Behaviour is a method. Person is a class. Your question makes me think you confused what a method is.



