ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is the difference between protected and protected internal?
 Question Submitted By :: Kiran
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between protected and protected internal?
Answer
# 1
Protected: This also allows a class to hide its member 
var. and member func. from other class objects and 
function, except the child class. it becomes important 
while implementing inheritance.
"it can be accessible into derived class with in the same 
application "
"protected members can be accessed within the class and the 
derived class"

Protected Internal: it's similar to Protected access 
specifier, it also allows a class to hide its member 
variables and member function to be accessed from other 
class objects and function, excepts child class, within the 
application. used while implementing inheritance.
 
Is This Answer Correct ?    2 Yes 1 No
Lakshmi Harathi
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
Why would you use untrusted verificaion?  1
what is read only and constant IBM8
What is a pre-requisite for connection pooling?  1
Does C# support multiple inheritance?  3
can u tell me any one steps for creatting sn.k  2
What does assert() do?  1
What is the minimum size (in bytes) of string data type in c#? Give its compatible data type in .NET Framework.  5
Can you override private virtual methods?  3
Explain constructor. Wipro6
When compiler adds a default constructor to a class? TCS3
How do you generate documentation from the C# file commented properly with a command-line compiler?  1
Can you declare the override method static while the original method is non-static?  2
An Array is a Ref Type? what about the array elements which are value type(int,Float...etc)?  5
Can we have a non static member function in a base class to be override in derived with static modifier? Wipro5
How?s method overriding different from overloading? Visual-Soft2
Explain manifest & metadata? Wipro5
If a class is having 4 variables namely type double,type integer,type string,type decimal. If we create an instance of that class those variables which gets into this instance are value types or reference types? Kanbay3
Why is it a bad idea to throw your own exceptions?  3
What is difference between value and reference types ? Accenture4
What are the two kinds of properties? Wipro10
 
For more C Sharp Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com