Advertisements
Advertisements
प्रश्न
A method is contained by ______.
विकल्प
an object
a class
a data
a value
MCQ
रिक्त स्थान भरें
Advertisements
उत्तर
A method is contained by a class.
Explanation:
A method is defined inside a class. It specifies the actions or behaviour that the objects of the class can perform.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: User-Defined Methods - Exercises [पृष्ठ ९०]
