हिंदी

The method which changes the state of an object is known as: - Computer Applications

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: User - Defined Methods - EXERCISES [पृष्ठ ३३४]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 5 User - Defined Methods
EXERCISES | Q I. 1. | पृष्ठ ३३४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×