Home / C++ Programming / OOPS Concepts :: Discussion

Discussion :: OOPS Concepts

  1. Which of the following statements is correct in C++?

  2. A.
    Classes cannot have data as protected members.
    B.
    Structures can have functions as members.
    C.
    Class members are public by default.
    D.
    Structure members are private by default.

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment