Question
Which of the following is not a modifier in C#?a. constb. privatec. publicd. statice. protected
Step 1
const - It is a modifier in C# used to declare constant fields. b. private - It is an access modifier in C# used to restrict access to class members. c. public - It is an access modifier in C# used to allow access to class members from any other code. Show more…
Show all steps
Your feedback will help us improve your experience
Arin Asawa and 69 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Which of the following modifiers is the most restrictive? a. private b. static c. public d. internal e. protected
If you want to keep classes that instantiate objects of a class from changing their data members, but enable derived classes to change base class data members, the data members in the base class should be defined with a _____________ access modifier. a. private b. public c. internal d. static e. protected
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD