Explain the Scope of
public/private/friend/protected/protected friend.
Answer Posted / 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 View All Answers
How to declares a two-dimensional array in C#?
What is a Jagged Array in C#?
What is dataadapter c#?
What is the difference between string and string in c#?
What is the difference between CreateObject() and GetObject()?
What is the difference between CONST and READONLY?
What is the default value of string in c#?
What is the difference between interface and inheritance in c#?
Can abstract classes be final?
What is the importance of closing an ado.net application?
What is the main purpose of linq?
How the versioning applies to Assemblies or can you explain version numbers?
How can you access a private method of a class?
How is exception handling implemented in c#?
What are the examples of data types?