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
Please explain what is heap and what is stack?
How to use datagrid value in select statements where condition ,if cell is hyperlink bounded column?
What is managed code execution?
Different levels of priority provided by .net.
Explain about the features and elements present in Visual studio.NET IDE?
Is .net core stable?
I'm having some trouble with cas. How can I troubleshoot the problem?
Explain can the validation be done in the server side? Or this can be done only in the client side?
What is DTS and explain the purpose of it?
What is deferred execution vs. Immediate execution in linq?
When a Static Constructor called in .NET?
What are .net applications?
How you apply a theme in whole application in .Net?
What are an object and a class?
How does linq work?