C# Programming - Constructors - Discussion
Discussion Forum : Constructors - General Questions (Q.No. 4)
4.
Which of the following statements are correct about static functions?
- Static functions can access only static data.
- Static functions cannot call instance functions.
- It is necessary to initialize static data.
- Instance functions can call static functions and access static data.
- this reference is passed to static functions.
Discussion:
12 comments Page 2 of 2.
Pravin Magar said:
9 years ago
Yes, you are correct @Jaya.
Static functions can have both methods.
Static functions can have both methods.
Kamal said:
1 decade ago
Static function is accessed by static funcation only.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers