Constructors
Data members
Member functions
Public interface
General
100

How do you name constructors?

The constructor's name should be the same name as the class

100

Are data members private or public?

Private

100

Are member functions private or public?

Public

100

What does the public interface consist of?

Member functions

100

What does a class describe?

A set of objects with the same behavior

200

Constructors are special member functions that initialize the _________ of an object

Data members

200

How can you change data members?

By using mutator functions

200

Where should member functions be implemented?

Outside of the class defenition using :: operator

200

What special function member function can be found in the public interface?

Constructor

200

What are the two sections within a class definition?

Private and Public

300

What is something that constructors never have?

Parameters

300

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

300

What are the two types of memebr functions

Mutators and accessors 

300

What is the correct way to implement the public interface within a class?

public:
300

How do you define a member function outside of the class defenition?

Class_name :: Function_name()
400

Why do constructors not have a return type?

Constructors do not return anything

400

What are the different types of data members that can be used in a class?

int, double, char, string,

400
What should be after a member function that does not modify any member variables?

Const

400

True or false: a public member function of a class can only modify the private data members if it is marked const

True

400

When you define a class and do not specify private or public, what will all objects under the class be?

Private

500

The ____ constructor is called when an object is defined without any parameters

Default

500

What does encapsulation do for data members?

Makes coding easier and also protects it from outside sources

500

How do you call member functions?

Dot notation

500

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

500

What is named called for how you need to write the name of a class?

CamelCase