单选题 C++
题号 #2607449

下面关于类和对象的描述中,错误的是(    )。

进入在线模考

参考答案

A

答案解析

在c++语言中,类和结构体有本质区别,类中包含数据及操作函数,而结构体只包含有数据。

你可能感兴趣的试题

A.public operator this
B.shod string static
C.it while>=
D.prirate cout printf
A.表示m>n为true或m<n为true的表达式为m>n&&m<n   
B.switCh语句结构中必须有default语句
C.if语句结构中必须有else语句
D.如果至少有一个操作数为true,则包含“If”运算符的表达式为true
找试题 · 找答案 · 找资料 在线模考