Quiz Yourself: Classes and OOP
Assess your understanding of C# classes and object-oriented programming.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
Which of the following statements accurately describes the default visibility of a top-level class compared to a class member when no access modifier is specified?
A.
Both default to private.
B.
Top-level classes default to internal, while members default to private.
C.
Top-level classes default to public, while members default to internal.
D.
Top-level classes default to internal, while members default to public.
1 / 14