Advertisements
Advertisements
प्रश्न
The method which changes the state of an object is known as:
पर्याय
Pure method
Impure method
Replace method
None of the above
MCQ
उत्तर
Impure method
Explanation:
An impure method alters the state of an object or has side effects, such as changing the object's fields.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?