Quiz Yourself: Classes and OOP II
Assess your understanding of inheritance, polymorphism, casting, and static members in C#.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What is the fundamental difference in how the compiler resolves override versus new?
A.
override uses runtime dispatch; new uses compile-time binding.
B.
override requires the dynamic type; new works with strong typing.
C.
override uses compile-time binding; new uses runtime dynamic dispatch.
D.
Both use runtime dispatch, but new creates a new entry in the virtual table.
1 / 12
...