English

What is Class? - Computer Science 1

Advertisements
Advertisements

Question

What is Class?

Short Answer

Solution

  1. A class is a technique to link data and its associated functions together.
  2. It allows the data (and functionalities) to be hidden from external access if necessary.
  3. When establishing a class, a new abstract data type can be generated and processed similarly to existing built-in data types.
  4. Generally, a class specification has two parts:
    1. Class Declaration
    2. Class functions definition
shaalaa.com
  Is there an error in this question or solution?
2023-2024 (March) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×