1.Which of these keywords allow for Overriding to occur in C++?
a.virtual
b.override
c.protected
d.abstract
'
2.C++ Objects can only exist in the Heap portion of RAM. No part of a Class/Object can exit outside of the Heap.
a.true
b.false
'
3.What does a destructor do?
a.It decomposes the object into a compressed form for long term storage. You destruct it, then output it to a file.
b.Gives the programmer an opportunity to clean up Heap memory in an object when its deleted
c.It automatically frees up any memory used by the object, but it's an opt in feature. If we don't include it then there's memory leaks.
d.Allows us to clean up any stack and static RAM used by the object.