AP Computer Science A Diagnostic Test 1

Question 1 of 40

Which of the following lines represents a data member?

1. class animal
2. {
3. public:
4. animal();
5. void fetch();
6. private:
7. char bone;
8. }