How to overcome diamond problem?
How to overcome diamond problem? Correct Answer Using virtual keyword with same name function
To overcome the ambiguity and conflict we can use keyword virtual. This will help us to differentiate the functions with same name that came to last derived class in diamond problem.
মোঃ আরিফুল ইসলাম
Feb 20, 2025