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 |
Contrast DTDs versus XSDs. What are their similarities and differences? Which is preferred and why ?
Why do we use methods in c#?
What is an interface class in c#?
What is the difference between static and private constructor?
What is array and arraylist?
Compare and contrast between the System.Array.CopyTo() and Clone()?
What is multicast delegate in c# ?
What is the use of readkey in c#?
Any problem found in vs.et
what is the difference between int and Int32?
Integer at long type variable are not object.Support your answer with example.And explain the technique to convert from value type to reference type and vice-versa.
How do I declare a pure virtual function in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)