Home / C# Programming / Classes and Objects :: Discussion

Discussion :: Classes and Objects

  1. Which of the following statements are correct?

    1. Data members ofa class are by default public.
    2. Data members of a class are by default private.
    3. Member functions of a class are by default public.
    4. A private function of a class can access a public function within the same class.
    5. Member function of a class are by default private.

  2. A.
    1, 3, 5
    B.
    1, 4
    C.
    2, 4, 5
    D.
    1, 2, 3
    E.
    None of these

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment