CPSC 335 Quiz 7
Answer the following questions with a few sentences.
- How is a class different from a struct?
- What does making a member function
constdo? - What is
thisin C++ and how is it different fromthisin Java? - Why should one make instance variables private?
- What is a destructor?