Infosys Company Programming Technical

Statement A: Variables defined with static keyword are called class variable.

Statement B: A static variable is available from any instance of a class.

Select the correct option for the preceding statements:

A. Statement A is true while Statement B is false.
B. Statement A is false while Statement B is true.
C. Both Statement A and Statement B are false.
D. Both Statement A and Statement B are true.

Read Solution (Total 8)

Infosys Other Question

IS
+THIS
-------
HERE
-------
What is the value of T*E+I*R-H*S?


7,12,40,222,1742,17390,208680 which number is wrong in series