English

______ encapsulate state and behaviour.

Advertisements
Advertisements

Question

______ encapsulate state and behaviour.

Options

  • Data

  • Methods

  • Formula

  • Objects

MCQ
Fill in the Blanks
Advertisements

Solution

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
  Is there an error in this question or solution?
Chapter 1: Revision of Class 9 Syllabus - Exercises [Page 42]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 1 Revision of Class 9 Syllabus
Exercises | Q 1. (ii) | Page 42
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×