我现在有一个Student类有如下成员函数和友元函数double Student::operator[](int i)const
ostream& operator<<(ostream& os,const Student& stu).............然后Student ada[3];
cout<<ada[i];//这步是调用了[],还是<<?请指教