[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C++ Programming :: Objects and Classes - Discussion

Home > C++ Programming > Objects and Classes > MCQs Questions Discussion

9 / 41

Choose the correct option.

A program can directly access the_________members of a class.

Ahidden

Bprivate

Cpublic

Dboth (b) and (c)

Answer: Option (Login/Signup)

Show Explanation

we can only access public members of a class by creating an object to that class from outside the class.

Asked In :: Sopra Steria

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here