Q:

If a local class is defined in a function, which of the following is true for an object of that class?

0

If a local class is defined in a function, which of the following is true for an object of that class?


  1. Object is accessible outside the function
  2. Object can be declared inside any other function
  3. Object can be used to call other class members
  4. Object can be used/accessed/declared locally in that function.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(d).Object can be used/accessed/declared locally in that function.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OOPS CONCEPT AND FEATURES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which among the following is wrong?... >>
<< How members of an object are accessed?...