Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 2 (Q.No. 15)
15.
Which of the following statements is false?
You typically use a public member function to change the value in a private data member
Because the constructor function does not return a value, you place the keyword void before the constructor's name
The public member functions in a class can be accessed by any program that uses an object created from that class
An instance of a class is considered an object
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Mani said:   7 years ago
There is no return type for constructors.

Post your comments here:

Your comments will be displayed after verification.