Select true or FALSE from the below sentences. (i) a private member function…

PYQ DSSSB 2018

Select true or FALSE from the below sentences.

(i) a private member function can only be called by another function that is a member of its class

(ii) an object can invoke a private function using the dot operator

  1. A.

    (i) true (ii) false

  2. B.

    (i) false (ii) true

  3. C.

    (i) true (ii) true

  4. D.

    (i) false (ii) false

Attempted by 687 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…