According to me,
i think You are passing object of the Dragon class in Knight constructor, you need variable of type Dragon class to hold that object.
otherwise you can't hold value.
int Dragon...