Explain the Scope of
public/private/friend/protected/protected friend.



Explain the Scope of public/private/friend/protected/protected friend...

Answer / jiten

public members r available all classs
private members r available only within class
protcted members r available drive classs
protected friend members r availble in drived classs and
all classs whitch r in same assambly
friend memebers r available for all classs witch in same
assambly

Is This Answer Correct ?    13 Yes 1 No

Post New Answer

More C Sharp Interview Questions

What is an arraylist in c#?

0 Answers  


What is int16?

0 Answers  


What are the classes contained in a single .NET DLL ?

0 Answers   Siebel,


Explain data types in c#?

0 Answers  


Explain About the Sattilite Assembly in .Net Technology?

2 Answers   TCS,






What is the purpose of a namespace?

0 Answers  


What is ispostback c#?

0 Answers  


What is immutable in C#?

0 Answers   SwanSoft Technologies,


Explain async and await?

0 Answers  


what is the difference between c-sharp and vb.net?What kind of security or advances we find in both languages?

3 Answers   DataPoint,


Where’s global assembly cache located on the system?

0 Answers  


Name some properties of array.

0 Answers  


Categories