Advertisements
Advertisements
Question
What is Class?
Short Answer
Solution
- A class is a technique to link data and its associated functions together.
- It allows the data (and functionalities) to be hidden from external access if necessary.
- When establishing a class, a new abstract data type can be generated and processed similarly to existing built-in data types.
- Generally, a class specification has two parts:
- Class Declaration
- Class functions definition
shaalaa.com
Is there an error in this question or solution?