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

Answers were Sorted based on User's Feedback



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

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

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

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

Post New Answer

More C Sharp Interview Questions

What is the execution entry point for a c# console application?

0 Answers  


What is difference between === and ==?

0 Answers  


What are reflections in c#?

0 Answers  


What is a multicast delegate in c#?

0 Answers  


What is an argument in c#?

0 Answers  


what is a template?

3 Answers   Choice Solutions,


What is anonymous method in c#?

0 Answers  


How Global.asax is used ?

0 Answers   Siebel,


Why abstract class is not instantiated in c#?

0 Answers  


Explain the functionalities of satellite assembly?

0 Answers   Siebel,


What is a event in c#?

0 Answers  


what is the purpose of Interfaces?

7 Answers   HCL,


Categories