题目详情
单选题 如果对TA类对象使用逻辑运算符"=="重载,以下函数声明正确的是( )
A. void & TA::operator==(const TA &a)
B. TA & TA::operator==(const TA &a)
C. bool & TA::operator==(const TA &a)
D. bool TA::operator==(const TA &a)
学科:计算机编程
时间:2024-10-06 10:10:52
相关题目
相关作业