试题详情

在下面的类声明中,属于私有字段的是( ) classPerson { public string name; public string sex; private int age; private double weight; }

Aname sex

Bage

Cweight

Dage weight