C++ MQCs with Explanation (CHAPTER 5: CLASSES AND OBJECTS

State which of the following is false with respect to classes:

  1. They permit data to be hidden from other parts of the program
  2. They can directly map objects in the real world
  3. They bring together all attributes of an entity in one place
  4. They are removed from memory when not in use



Answer: 
Option d:They are removed from memory when not in use

Explanation Here

Post a Comment

0 Comments