I was asked this in an interview today and I just can’t figure it out. I was asked everything from beginning to advanced questions, but this one stuck out. I was describing inheritance and polymorphism and then this question came up. I have obviously never tried to override every method in a [C# / C++] class, but I wasn’t aware there was something that was required in order to override a particular method (.ToString, for example). Did I misinterpret the question or is there something required? And if so, what forces this requirement?
Share
sealedvirtualorabstract