a) What are the advantages and disadvantages of manual memory management vs automatic memory management (sometimes known as garbage collection) in object-oriented programming? 


b) Write a code fragment that demonstrates an appropriate use of hybrid inheritance (i.e., a real-world practical scenario that is well-suited to the use of hybrid inheritance).

Leave an answer

Sorry, you do not have permission to answer to this question .