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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?