adplus-dvertising
frame-decoration

Question

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

a.

common

b.

exposed

c.

public

d.

unrestricted

Answer: (c).public

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. Which of the following are valid characters for a numeric literal constant?

Q. A function that changes the state of the cout object is called a(n) _____

Q. Which type of statement does not occur in computer programs?

Q. The newline character is always included between

Q. To be called object-oriented, a programming language must allow

Q. The #ifndef directive tests to see whether ________

Q. The step-by-step instructions that solve a problem are called _____

Q. Which of the following statements allows the user to enter data at the keyboard?

Q. When you pass a variable _____, C++ passes only the contents of the variable to the receiving function

Q. The best form of coupling is _____

Q. Paying attention to the important properties while ignoring inessential details is known as________

Q. An array name is a _____

Q. To enter a comment in a C++ program, you begin the comment with _____

Q. You define a structure type globally because _____

Q. Redirection redirects

Q. Sending a copy of data to a program module is called _______

Q. A widget is to the blueprint for a widget as an object is to

Q. C++ allows you to define the same functions more than once in the same program _____

Q. Which of the following assigns the number 5 to the area variable?

Q. The _____ mode tells C++ to open a file for input