when data member or member function is static is acess
specifier is considered??

Answer Posted / answerme

yes.. For Static Data members / Member functions access
specifiers are considered.
The accessibility of the static members. functions remains
similar as that of normal variable with specified access
specifier. For e.g., Private static variable will not be
accessible outside the class, even though it is
initialized.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is console write in c#?

675


Give an example of a ctype.

758


What is the purpose of a constructor in c#?

655


Does a class need a constructor c#?

679


Is ram a heap?

692


What are variables in c#?

713


What is the C# syntax to catch any possible exception?

710


What is the difference between yield and return?

634


What is c# entity framework?

657


How can it prevents DLL Hell assembly versioning in .NET?

754


What is the difference between add and addrange in c#?

758


What is a cs file?

745


Explain About .Net remoting

748


What is the difference between dynamic type variables and object type variables in c#?

686


Why do we overload constructors?

687