To expose a data member to the program, you must declare the data member in the _____ section of the class

Review the verified answer and explanation for this DemoPaper-Pakistan past-paper question on CampusFin.

To expose a data member to the program, you must declare the data member in the _____ section of the class Answer: public

Question context

This question is part of 💻 Computing within the broader 💾 Computer Science subject and appears in the DemoPaper-Pakistan preparation collection. Reviewing the answer together with nearby questions helps reinforce the underlying concept and identify how it may appear in competitive exams.