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 correct syntax to call a public static method named Reset defined in a class named Settings?
A.
Settings instance = new Settings();
instance.Reset();
B.
new Settings().Reset();
C.
Settings.Reset();
D.
Settings::Reset();
1 / 12
...