Object Oriented Programming - Old Questions

Question Answer Details

3. Explain the chain of constructors and destructors between subclasses and superclasses during inheritance with an example. Create a class named 'Point' with data members x and y. Overload the + operator to add the values of two objects of this class. [5+5]

10 marks
Asked in 2079

Answer

AI Generated Answer

AI is thinking...