Object-oriented programming (OOPs) Question:

What is Public access modifier in C#?

Tweet Share WhatsApp

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 PDF Read All 37 OOP Questions
Previous QuestionNext Question
What is Private access modifier in C#?What is pure virtual function in OOP?