Explain about Protected and protected internal, ?internal?
access-specifier?
Answer Posted / sudhir kumar
Protected access specifier allows a class to hide its member
variables and member functions from other class objects and
functions, except the child class.
The protected access specifier becomes important while
implementing inheritance.
Protected members are not Visible to objects of other class,
or other classes outside the namespace collection,and also
not visible to objects of child classes outside the
namespace collection.
Protected access specifier allows a class to hide its member
variables and member functions from other class objects and
functions, except the child class,with in the application.
The protected access specifier becomes important while
implementing inheritance.
Protected members are not Visible to objects of other class,
or other classes outside the namespace collection,and also
not visible to objects of child classes outside the
namespace collection.
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What does protected internal access modifier mean?
List out two different types of errors in c#?
is it possible to access a remote web service Without UDDI?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
What is parallel foreach in c#?
What is .cshtml file?
What is expression c#?
Define c# i/o classes?
What are the differences between system.string and system.text.stringbuilder classes?
What is the syntax for calling an overloaded constructor within a constructor?
What is string in c# net?
What is the process of delegation?
List down the fundamental oop concepts?
How is a loop recorder monitored?
Wht executescaler method is used?