Object-oriented programming (OOPs) Question:
Download Questions PDF

What is Public access modifier in C#?

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?