Explain the Scope of
public/private/friend/protected/protected friend.
Answer Posted / srikanth
Public is accessible to all classes and projects.
Private is accessible only in the block that is declared.
Friend is accessible only to all classes in the current
project only.
Protected is accessible to only the class the is declared
and the class that is derived from that class.
Protected Friend is accessible to all the classes in the
current project and all classes derived from those classes.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain about managed heap?
I'm having some trouble with cas. How can I troubleshoot the problem?
What is .net debug & trace?
What is SOAP? How you will do windows and forms authentication?
What is a windows process in .net?
Define marshling?
What is new in .net core?
What is the difference between encrypting a password and applying a hashing?
Which namespace is used to support multithearding in .NET?
Is there any attempt system for microsoft technology papers?
What is the concept of inheritance in .net?
Please explain is the jit an interpreter?
Please explain what is the .net framework and how does it work?
Explain attributes in dot net?
Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?