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
In object oriented programming, how would you describe encapsulation in c#?
What is the default value of decimal in c#?
Describe the types of comments in c#?
Is c# scripting language?
List the fundamental oop concepts?
What is static noise?
How to find type of variable?
Define property in c#.net?
What is the task perform by clr?
What is the difference between final finally and finalize in c#?
What is the use of console readkey in c#?
How do you create empty strings in c#?
What is an array? Give the syntax for a single and multi-dimensional array?
what are the differences between a class and structure
How many types of inheritance are there in c#?