When you inherit a protected class-level variable, who is
it available to?
Answers were Sorted based on User's Feedback
Answer / raja chandrasekaran
Protected class level variables can be accessed with in the
same class and accessed by the derived classes.Derived
classes can be in different assembly also. Even the
variables are private, it will be derived into the child
class. But the thing is, it is not accessible due to its
protection level.
Is This Answer Correct ? | 6 Yes | 5 No |
Answer / p.sahoo
Protected Class Variables Are Always Inherited in it's
derived classes.
But in the namespace it confused to me because in a
namespace we can set any type of modifiers.
Is This Answer Correct ? | 0 Yes | 6 No |
How cache is implemented in web application for DB queries?
What is data quality assurance?
What is private virtual in C#?
What are cshtml files?
A->B->C (EXTENDS) How the constructors are called when we created an object of C
3 Answers Karur Vysya Bank KVB,
What is datasource c#?
What is the reason behind the invention of c#?
What is the purpose of the integer parse method the decimal parse method?
1. What is lazy loading? 2. What is delay signing? 3. How to transfer view object to presenter in MVP? 4. How to create a generic class? 5. What is Ajax object? 6. What is explicit interface implementation? 7. I1, I2 interfaces have same methods (say PrintName) explicitly implemented in class C1. Now how to call PrintName method from I1? 8. I have a list of Customers. List the customer with maximum orders using LINQ.
Is java better than c sharp?
Why do we use inheritance in c#?
hi i m bhawna ,a student of mca want to know about what type of technical question has been asked in an interview of mnc's like HCL,TCS,WIPRO