Answer the following statements true (T) or false (F)
1. Every class should include a constructor with the same name as the class.
2. All member functions must be in the public section of a class.
3. Information hiding means that a programmer uses a class without knowing the implementation of the class.
4. The main difference between structs and classes is that the default access for structs is
private, the default access for classes is public.
5. When using projects, if you change a program using a class but do not change the class
itself, the class implementation file does not need to be recompiled.
1. True
2. True
3. False
4. True
5. False
Answer: True
You might also like to view...
________ principles help create environments that accommodate people with disabilities while benefitting those who do not have any special needs
Fill in the blank(s) with correct word
Case-Based Critical Thinking Questions ? Case 6-1 Simon is having trouble using linked workbooks, so he consults his colleague Brooke for help. ? ? After Brooke has helped Simon to resolve his original problem, Simon asks her about another linked workbook he has received. The source files for this workbook have not been included, but Simon would like to use the workbook with the most recent values from the source files. What should Brooke tell him?
A. He can open the workbook and click the Continue button in the Edit Links dialog box. B. He can open the workbook and click the Break button in the Edit Links dialog box. C. He can open the workbook and click the Change Source button in the Edit Links dialog box. D. He will not be able to use the workbook until he obtains copies of the source files.