Object-oriented programming (OOPs) Question:

Download Job Interview Questions and Answers PDF

What is Public access modifier in C#?

OOP Interview Question
OOP Interview Question

Answer:

The public keyword is an access modifier for types and type members ie. we can declare a class or its member (functions or methods) as Public. There are no restrictions on accessing public members.

Download OOP Interview Questions And Answers PDF

Previous QuestionNext Question
What is Private access modifier in C#?What is pure virtual function in OOP?