Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Problem Solving with C++ Study Set 1
Quiz 10: Defining Classes
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Question 21
Short Answer
In the following class constructor definition, the part of the header starting with a single colon is called the ________________. BankAccount::BankAccount): balance0), interest0.0)
Question 22
Multiple Choice
What is wrong with the following structure definition? Struct MyStruct { Int size; Float weight; }
Question 23
Short Answer
If you have a class with a member function called displayostream& out), that will send the values in the class to the parameter stream, and you need to call that function from within another member function, how would you call it to print the data to the screen? ___________________________
Question 24
Multiple Choice
A member function of a class should be made private
Question 25
Short Answer
A class in which modifications to the implementation appear to be invisible to the user of the class is known as _________________.
Question 26
Short Answer
A member function that gets called automatically when an object of the class is declared is called a _______________.
Question 27
Multiple Choice
In a structure definition, the identifiers declared in the braces are called
Question 28
Multiple Choice
Given the following strucure definitions, what is the correct way to print the person's birth year? Struct DateType { Int day; Int month; Int year; } Struct PersonType { Int age; Float weight; DateType birthday; } PersonType person;