when data member or member function is static is acess
specifier is considered??
Answers were Sorted based on User's Feedback
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 |
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 |
Define constructors
Why abstraction is used in c#?
What happens if a static constructor throws an exception?
Illustrate the differences between the system.array.copyto() and system.array.clone()?
What is null character in string?
What are the commonly used i/o classes?
What is difference between Enum and Struct?
What is a private class in c#?
Which property of the textbox cannot be changed at runtime?
Define multicast c# delegate?
Is c sharp open source?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)