Q:

Which is the correct syntax for returning an object by value?

0

Which is the correct syntax for returning an object by value?


  1. void functionName ( ){ }
  2. object functionName( ) { }
  3. class object functionName( ) { }
  4. ClassName functionName ( ){ }

All Answers

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

 (d).ClassName functionName ( ){ }

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

total answers (1)

OBJECT ORIENTED PROGRAMMING - OBJECTS AND POINTERS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which is the correct syntax for defining a functio... >>
<< Where the temporary objects (created while return ...