हिंदी

______ encapsulate state and behaviour.

Advertisements
Advertisements

प्रश्न

______ encapsulate state and behaviour.

विकल्प

  • Data

  • Methods

  • Formula

  • Objects

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

Objects encapsulate state and behaviour.

Explanation:

  1. Objects in Object-Orientated Programming (OOP) encapsulate both state (data/attributes) and behaviour (methods/functions).
  2. They combine data and the operations performed on that data into a single unit.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ४२]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 1 Revision of Class 9 Syllabus
Exercises | Q 1. (ii) | पृष्ठ ४२
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×