PLEASE ONLY ANSWER IF YOU KNOW THE RIGHT ONE. Public members of a class object c
ID: 3545126 • Letter: P
Question
PLEASE ONLY ANSWER IF YOU KNOW THE RIGHT ONE.
Public members of a class object can be accessed from outside the class by using the
A function ________ eliminates the need to place the function definition before all calls to the function.
If setRadius is a Circle class function and myCircle is a Circle object, which of the following statements would set myCircle's radius to 2.5?
When a function needs access to an original argument passed to it, for example in order to change its value, the argument needs to be
A function ________ includes the statements that make up the function.
Two or more functions may have the same name provided that
one has a prototype and the other doesn't.
either their parameter lists are different or their return types are different is true.
A function can have ________ parameters, and it can have either zero or one return value(s).
A(n) ________ argument is one that is automatically passed to a parameter when the argument is left out of the function call.
Objects permit data hiding. This means they can keep functions outside the class from
knowing the names of the variables holding the data.
A structure variable is similar to a class object in which of the following ways?
It has member data that is usually private and accessed through public member functions.
Its data can be initialized with a constructor.
It can be passed to a function or returned from a function.
Its data can be initialized with a constructor and It can be passed to a function or returned from a function, but not It has member data that is usually private and accessed through public member functions.
When three different objects of a particular class are created, they are said to be separate ________ of the class.
The ________ statement causes a function to end and the flow of control to move back to the point where the function call was made.
A ________ variable is defined inside the body of a function and is not accessible outside that function.
Explanation / Answer
5)dot operator.
7)prototype
11)myCircle.setRadius(2.5);
12) passed by value.
15)definition
16)their parameter lists are different.
17)zero to many
19)default
20)doing all of these.
23)Its data can be initialized with a constructor and It can be passed to a function or returned from a function, but not It has member data that is usually private and accessed through public member functions.
25)members
26)return
27)local
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.