Are you sure you're getting this? Fill in the missing part by typing it in.
In C++ programming, classes are defined using the class
keyword, followed by the name of the class and a pair of curly braces {}
which enclose the class's data members and member functions. For example, let's define a class in the context of a bank. BankAccount
is the name of our class. Now, can you remember what is the purpose of the BankAccount()
function within the class? It is used to _ the object and is automatically called when an object of the class is created.
Write the missing line below.