- 1

fill the blank to create a class"people " with three private integer member birthmonth,birthday,birthyear

5th Dec 2016, 2:14 AM
Jonavel Dacutanan
Jonavel Dacutanan - avatar
3 Réponses
+ 3
If you are talking about c++. Here class { private: int birthmonth,birthday,birthyear; } or do not write private. By default all class members are private. That can only access by class itself and a class or function with friend keyword.
5th Dec 2016, 3:11 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 1
Which language, please explain your problem
5th Dec 2016, 2:22 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
help me pls
5th Dec 2016, 2:15 AM
Jonavel Dacutanan
Jonavel Dacutanan - avatar