Object - correct answer ✔Name -- the variable name we give it
Member data
Member functions
Class - correct answer ✔a blueprint for objects
function - correct answer ✔return type
name
parameter list
pass by reference - correct answer ✔
pass by value - correct answer ✔creates copy
changes will not affect the originals
friend functions - correct answer ✔class Fraction {
friend bool functionname(parameter 1);
public:
private:
}
, L-values - correct answer ✔represents an object that has an address
location in memory
R-values - correct answer ✔represents an object that does not have an
address location in memory
object passed by value - correct answer ✔a copy is made of the object. Any
R-value can be sent on the call
object passed by reference - correct answer ✔(without const) no copy is
made, and only an L-value can be sent on the call
bool Fraction::Equals() - correct answer ✔returnType
className::memberFunction()
returning objects from member functions - correct answer ✔Fraction
newFracObj(num, denom); // creates
return newFracObj; //then returns
OR
return Fraction(num, denom); //creates and returns
A const object may only call: - correct answer ✔const member functions
static member data - correct answer ✔
const member data - correct answer ✔