inherit

از ویکی‌واژه

انگلیسی[ویرایش]

فعل[ویرایش]

  1. ارثیدن [ 📤 ]؛ ارثادن [ 📤 ] (ارث بردن):
    🗨️ When a class inherits from another, it gains access to all the public and protected members of the parent class.
    🗨️ In object-oriented programming, a child class inherits properties and methods from its parent class.
  2. ارثئیدن [ 📤 ]؛ ارثئادن [ ] (ارث بردن؛ ارث گرفتن):
    🗨️ In Python, a class can inherit from multiple parent classes, a feature known as "multiple inheritance".
    🗨️ The youngest son inherited the family farm after his father passed away.
    🗨️ She inherited a large sum of money from her wealthy aunt.
    الگو:ردال بنجمله الگو:ردال بنجمله