问题描述:
[问答]
有如下类的定义:class Constants{public: static double GetPI(void){return 3.14159;}};Constants constants;下列各组语句中,能输出3.14159的是() A.cout<<constants->GetPI();和cout<<Constants:GetPI(); B.cout<<constants.GetPI();和cout<<Constants.GetPI(); C.out<<constants->GetPI();和cout<<Constants->GetPI(); D.cout<<constants.GetPI();和cout<<Constants:GetPI();
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
- 我要回答: 网友(216.73.216.96)
- 热门题目: 1.电子商务企业的竞争优势主要体 2.比率预测法是基于对员工整体生 3.下列操作不能配制出pH=4.
