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 |
What is the execution entry point for a c# console application?
What is difference between === and ==?
What are reflections in c#?
What is a multicast delegate in c#?
What is an argument in c#?
what is a template?
What is anonymous method in c#?
How Global.asax is used ?
Why abstract class is not instantiated in c#?
Explain the functionalities of satellite assembly?
What is a event in c#?
what is the purpose of Interfaces?