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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# different than c++?

526


What can we do to handle multiple exceptions?

563


Do events have return type c#?

515


What does using system mean in c#?

500


How do I create a dbml file?

492






What is xslt in c#?

479


What's the c# syntax to catch any possible exception?

500


What is the default value of singleordefault?

502


Which of these string definitions will prevent escaping on backslashes in c#?

577


What are satellite assemblies? How will you get the different language strings?

491


Does unity use c++ or c#?

497


Give an example of a directcast.

524


What is array c#?

529


What is type cast in C#?

571


Why do we use virtual methods in c#?

497