हिंदी

A method is contained by ______.

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 [पृष्ठ ९०]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 3 User-Defined Methods
Exercises | Q 1. (vi) | पृष्ठ ९०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×