在下面的类声明中,属于私有字段的是( ) classPerson { public string name; public string sex; private int age; private double weight; }
A.name sex B.age C.weight D.age weight正确答案D
在下面的类声明中,属于私有字段的是( ) classPerson { public string name; public string sex; private int age; private double weight; }
A.name sex B.age C.weight D.age weight正确答案D