Discussion Forum

  1. Home
  2. »
  3. Languages
  4. »
  5. Which of the ...
Which of the following statements are correct about static functions?

1. Static functions can access only static data.
2. Static functions cannot call instance functions.
3. It is necessary to initialize static data.
4. Instance functions can call static functions and access static data.
5. this reference is passed to static functions.

1, 2, 4

2, 3, 5

3, 4

4, 5

Answer: A . 1, 2, 4
0Shares
0 0

If you think the posted answer is wrong or Confused About the Answer? Ask for Details Here

Know Explanation? Add it Here
we’ll review your comment and contact you soon….

Leave a Reply

Your email address will not be published. Required fields are marked *

0Shares
0
Scroll to Top