How do you name constructors?
The constructor's name should be the same name as the class
Are data members private or public?
Private
Are member functions private or public?
Public
What does the public interface consist of?
Member functions
What does a class describe?
A set of objects with the same behavior
Constructors are special member functions that initialize the _________ of an object
Data members
How can you change data members?
By using mutator functions
Where should member functions be implemented?
Outside of the class defenition using :: operator
What special function member function can be found in the public interface?
Constructor
What are the two sections within a class definition?
Private and Public
What is something that constructors never have?
Parameters
What is the difference between a data member and a local variable?
A data member is defined within a class, a local variable is defined in the function and can only be used in that scope
What are the two types of memebr functions
Mutators and accessors
What is the correct way to implement the public interface within a class?
How do you define a member function outside of the class defenition?
Why do constructors not have a return type?
Constructors do not return anything
What are the different types of data members that can be used in a class?
int, double, char, string,
Const
True or false: a public member function of a class can only modify the private data members if it is marked const
True
When you define a class and do not specify private or public, what will all objects under the class be?
Private
The ____ constructor is called when an object is defined without any parameters
Default
What does encapsulation do for data members?
Makes coding easier and also protects it from outside sources
How do you call member functions?
Dot notation
What is the purpose of a public interface in a class?
To define the methods and properties that can be accessed and used by other parts of a program
What is named called for how you need to write the name of a class?
CamelCase