Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Define constructors

0 Answers  


Why abstraction is used in c#?

0 Answers  


What happens if a static constructor throws an exception?

0 Answers  


Illustrate the differences between the system.array.copyto() and system.array.clone()?

0 Answers  


What is null character in string?

0 Answers  


What are the commonly used i/o classes?

0 Answers  


What is difference between Enum and Struct?

0 Answers   UGC Corporation,


What is a private class in c#?

0 Answers  


Which property of the textbox cannot be changed at runtime?

0 Answers  


Define multicast c# delegate?

0 Answers  


Is c sharp open source?

0 Answers  


How can you write a class to restrict that only one object of this class can be created (Singleton class)?

0 Answers  


Categories