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

What sort algorithm does c# use?

0 Answers  


What is the difference between ienumerable and icollection?

0 Answers  


What is managed code?

0 Answers  


What is lazy loading entity framework?

0 Answers  


What is the difference between list and array in c#?

0 Answers  


In c#.Net Application For DataGridview binding which method is faster in below two case?Why..? 1)looping-Using For loop 2)Databinding direct using Dataset

4 Answers   CTS,


What are expressions c#?

0 Answers  


Where do you add an event handler ?

1 Answers  


What is jagged array in c#?

0 Answers  


If we write a goto or a return statement in try and catch block will the finally block execute?

6 Answers  


Y go for Interface? What is use of interface?

3 Answers  


How do you prevent a class from being inherited?

0 Answers  


Categories