UrbanPro

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Explain about protected internal access specifier?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Java J2EE Frameworks Online Trainer with 10 years of Experience

protected access specifier is used in inheritance. Base class members are made accessible to its sub classes through protected access specifier. This access specifier works with in inheritance.
Comments

Home Tutor with 4+ years of experience

The protected internal access specifier allows its members to be accessed in derived class, containing class or classes within same application. However, this access specifier rarely used in C# programming but it becomes important while implementing inheritance. Example: using System; namespace...
read more
The protected internal access specifier allows its members to be accessed in derived class, containing class or classes within same application. However, this access specifier rarely used in C# programming but it becomes important while implementing inheritance. Example: using System; namespace Protected_Internal { class access { // String Variable declared as protected internal protected internal string message; public void print() { Console.WriteLine("\n Hello Pro " + message); } } class Program { static void Main(string[] args) { access ac = new access(); Console.Write("Enter your Message:\t"); // Accepting value in protected internal variable ac.name = Console.ReadLine(); ac.print(); Console.ReadLine(); } } } read less
Comments

Trainer

Well , protected variable only available in the contained class (in which it has been declared) and in the derived class within the assembly and also outside the assembly. and internal variable can access within the assembly either creating object or in a derived class or you can say it is accessible...
read more
Well , protected variable only available in the contained class (in which it has been declared) and in the derived class within the assembly and also outside the assembly. and internal variable can access within the assembly either creating object or in a derived class or you can say it is accessible across all the classes within the assembly. But protected internal variable is combination of both.Protected Internal Member can be available within the entire assembly in which it declared either creating object or by inherited that class. And can be accessible outside the assembly in a derived class only. Protected Internal member works as Internal within the same assembly and works as Protected for outside the assembly. read less
Comments

C++, C, Embedded, Linux Expert

This is not a c++ question. It is used in c#.
Comments

Trainer

allows its members to be accessed in derived class, containing class or classes within same application.
Comments

The type or member can be accessed only by code in the same class or struct, or in a class that is derived from that class.
Comments

Elevating Careers and Empowering Professionals through 10 Years of Expertise in IT

The protected internal access specifier allows its members to be accessed in derived class, containing class or classes within same application. However, this access specifier rarely used in C# programming but it becomes important while implementing inheritance.
Comments

View 5 more Answers

Related Questions

Is it possible to write big safe programs in C++?
yes. C++ is generally used to write system software. For example windows operating system are writeen in C++. Most of the operating system, device driver and antivirus programs are written by using C++.
Sapna
0 0
6
What is the difference between class and structure?
Basic difference between class and structure is that Structures are used to store data and a class defined both data and the functions that access that data.
Aparna
0 0
8
Which are the best books to learn C?
- Yashwant Kanetkar - E Balagurusamy
Kratika
what is method over-riding and how it is used ? if possible send with code with output or screen photo ?
Method over-riding : it is a technique in which more then one function with same name and same signature( similar type parameter) can present in program. in overriding a subclass method overrides the definition...
Sayyad
0 0
5
How do I perform multiplication in C++?
Multiplication in C++ is as simple as using the * operator. It's a fundamental arithmetic operation, familiar to most developers even with minimal experience in the language. The basic concept involves...
Venkataramanaiah
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Programing Languages Learning Tricks
You want to learn that new language or library or framework as soon as possible, right? That’s understandable. Fortunately, there are a handful of tips that can help you to better retain all of that...

Harshal G.

0 0
0

Advantages of C++ Language
Advantages of C++ - C++ is a profoundly convenient dialect and is frequently the dialect of decision for multi-gadget, multi-stage application advancement. - C++ is a protest situated programming dialect...

Object Oriented Programing
Object Oriented Programming Concepts: Object Oriented Programming follows bottom up approach in program design and emphasizes on safety and security of data. Features Of Object Oriented Programming: Inheritance: ...

Memory Layout in C++ vis-a-vis Polymorphism and Padding bits.
I know there is no need for the knowledge of memory layout for a normal day-to-day development of C++. However, when someone goes in the bit/byte level of C++, he needs to look for such discussion. To...

C++ Program Sample Application
//Standard Library Functions(Headers Files Used in C++) #include<iostream.h> #include<conio.h> //Main function int main() { //function for clearing the screen clrscr(); //function for...

Recommended Articles

Introduction C++ is an excellent programming language and many of the applications are written in C++ language. It has generic, object-oriented & imperative programming features, and also provides facilities for low-level memory manipulation. Successor of C language, it is an OOP (object oriented programming) language...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for C++ Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more