Member Functions
Syntax
Public v. Private
Construction
Encapsulation
100

A function that doesn't change the value of the data members

What is an "accessor" function?

100

What operator do you use to implement a member function outside of a class?

What is "::"

100

it goes in the private half of a class

what are Data members

100

What is the main purpose of a constructor in C++?

What is "to initialize an object"

100

it make objects.

what do classes do?

200

A function that changes the value of a data member

What is a "mutator" function?

200

What do you need to add to mark a function as an accessor?

What is "const"?

200

It goes in the public section of a class

What are member functions?

200

What is the rule regarding the name of a constructor in C++?

What is constructors need the same name as the class

200

To have parts of a function public and private.

What is encapsulation?

300

It is where you define the member functions.

What is outside the member function?

300

Where should you initialize member functions? 

What is after the class and before the int main

300

Under which do you use void?

What is public?

300

What is always true about default constructors?

What is they never take parameters

300

You use this to change a variable in a class

What is a member function?

400

It refers to the parameter in the parentheses.

What is explicit?

400

You use it to call a data function in int main().

What is dot notation?

400

Where you put constructors before initializing?

Where is public

400

It is the difference between a constructor and a default constructor.

What are parameters?
400

Why do we use encapsulation?

What is so people don't change the variables

500

You ignore dot notation while doing so.

How do you call a data function in a data function?

500

You place the name of the class here.

what is the data type of a constructor?

500

Where would you put "int count" .

What is Private?

500

This is an example:

Clock::Clock(){

        hour = 0;

        minute = 0;

}

What is an example of a defined default constructor?

500

What the non-private part of encapsulation is called

What is the public interface?

M
e
n
u