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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?