You are not logged in.

#1 2017-07-31 06:36:50

Ibraheem
Webmaster
From: Capital
Registered: 2012-03-16
Posts: 23,140
Website

Which of the following statements is false?

Programming Languages Quizzes C / C++ Programming Language

Question:
Which of the following statements is false?

Option A):
You typically use a public member function to change the value in a private data member
Option B):
The public member functions in a class can be accessed by any program that uses an object created from that class
Option C):
Because the constructor function does not return a value, you place the keyword void before the constructor's name
Option D):
An instance of a class is considered an object

Correct Answer is Option C):
Because the constructor function does not return a value, you place the keyword void before the constructor's name

2017-07-31 06:36:50

Advertisement
Ads By Google

Re: Which of the following statements is false?



\n

Board footer