adplus-dvertising
frame-decoration

Question

The static members are ______________________

a.

Created with each new object

b.

Created twice in a program

c.

Created as many times a class is used

d.

Created and initialized only once

Answer: (d).Created and initialized only once

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The static members are ______________________

Similar Questions

Discover Related MCQs

Q. Which among the following is true ?

Q. Which among the following is not applicable for the static member functions?

Q. Which is correct syntax to access the static member functions with class name?

Q. The static member functions ____________________

Q. The static member functions __________________

Q. Which among the following is correct definition for static member functions?

Q. Which among the following is wrong syntax related to static data members?

Q. If object of class are created, then the static data members can be accessed ____________

Q. Whenever any static data member is declared in a class ______________________

Q. Which data members among the following are static by default?

Q. Which among the following is correct syntax to access static data member without using member function?

Q. The static data member __________________________

Q. If static data members have to be used inside a class, those member functions _______________

Q. The syntax for defining the static data members is:

Q. The static data member ______________________

Q. Which is the correct syntax for declaring static data member?

Q. Any changes made to static data member from one member function _____________

Q. Which keyword should be used to declare static variables?

Q. Which among the following best defines static variables members?

Q. A static nested class is _____________ class in behavior that is nested in another _________ class.