Which of the statements ) ) given below is / / are true about the static method?
Fantastic news! We've Found the answer you've been seeking!
Question:
Which of the statements) given below is/are true about the static method?
1) A static method belongs to the class rather than object of a class.
I) A static method cannot be invoked without the need for creating an instance of a class.
Ill) Static method can access static data member and can change the value of it.
Only (II) and (III)
Only (1) and (III)
All (1),(Il) and (Il)
Only (1) and (Il)
Related Book For
Posted Date: