when data member or member function is static is acess
specifier is considered??
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / jag
Of course it is. A public static method might still need to
store private data or call other functions which need not
be public. Those would have to be private or protected
static.
Is This Answer Correct ? | 1 Yes | 2 No |
Is array value type in c#?
What is string method in c#?
What .exe means?
What is the use of table aliases?
What Is A Multicast Delegate?
What sort algorithm does c# use?
What is an xsd file?
Are multiple data types stored in System.Array?
What is difference between Trace and Debug
What is the difference between the debug class and trace class? Documentation looks the same.
What is the default value of object in c#?
What does void do in c#?