Which of the given below statement(s) is/are true?
Mercedes-Benz technical mcq question, verified with a worked answer. Free to practise - no sign-up.
Which of the given below statement(s) is/are true?
I) Static method belongs to the class rather than object of a class.
II) Static methods can be called without creating an object of class.
III) Static method can access static data member and can change the value of static data.
Show answer & explanation
Answer: A. A) Only (II)
Accurate technical and quantitative evaluation based on foundational principles.
Step-by-step Derivation:
Step 1: Formulate problem conditions.
Step 2: Apply logical deduction.
Step 3: Conclude correct option.