Advertisements
Advertisements
प्रश्न
What is Class?
लघु उत्तर
उत्तर
- 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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?