Frage im Vorstellungsgespräch bei Smoking Gun Interactive

How does an object know which method to use when the base class has the same method?

Antwort im Vorstellungsgespräch

Anonym

11. Okt. 2023

I can tell you they use vtables, but beyond that not much because I don't know the implementation details compilers use. The apparent expected answer: pointers *hand waving*