inherit
ظاهر
انگلیسی
[ویرایش]فعل
[ویرایش]- ️ارثیدن 📤 :[ℹ]
- 意 در برنامهنویسی نوعِپانه[؟]، یه زیرنوعِپال[؟] ویژگیها و متدهای زِبَرنوعِپال[؟] اش را بِاِرْثَد.🗨️ In object-oriented programming, a child class inherits properties and methods from its parent class.
- 意 در پایتون، یه نوعِپال[؟] بتواند از چند زبرنوعِپال[؟] بِاِرْثَد، خصوصیتی که بعنوان «ارثش چندگانه[؟]» شناسشته بشود[؟].🗨️ In Python, a class can inherit from multiple parent classes, a feature known as "multiple inheritance".
- ️اِرْثاهیدن 📤:[ℹ]
- 意 اگر نوعِپالهای[؟]
AوBرا داشته باشیم، بتوانیم نوعِپال[؟]Aرا ازB، با نوشتنclass A extends B، بِاِرْثاهیم.🗨️ If we have a classAand a classB, we can makeAinherit fromBby writingclass A extends B.
- ️اِرْثاخْتَن 📤:[ℹ]
- 意 جوانترین پسر، پس از فوت پدر اش، مزرعه خانوادگی را اِرْثاخْت.🗨️ The youngest son inherited the family farm after his father passed away.
- 🗨️ She inherited a large sum of money from her wealthy aunt.