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