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

Is array value type in c#?

0 Answers  


What is string method in c#?

0 Answers  


What .exe means?

0 Answers  


What is the use of table aliases?

0 Answers  


What Is A Multicast Delegate?

0 Answers   Siebel Systems,






What sort algorithm does c# use?

0 Answers  


What is an xsd file?

0 Answers  


Are multiple data types stored in System.Array?

0 Answers   Siebel,


What is difference between Trace and Debug

0 Answers   BirlaSoft,


What is the difference between the debug class and trace class? Documentation looks the same.

0 Answers  


What is the default value of object in c#?

0 Answers  


What does void do in c#?

0 Answers  


Categories