1. Glossaryفەرهەنگی زاراوەکان
Inheritance
بۆماوە
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

Making a new from an existing one: the new class (subclass) gets the fields and methods of the old one (superclass) and can add or change some. Dart allows single inheritance: a class extends only one class.

دروستکردنی نوێیە لە کلاسێکی هەبووەوە: کلاسە نوێیەکە ⁦(subclass)⁩ ستوون و میتۆدەکانی کلاسە کۆنەکە ⁦(superclass)⁩ وەردەگرێت و دەتوانێت هەندێکیان زیاد بکات یان بگۆڕێت. Dart تەنها یەک بۆماوە ڕێگە دەدات: هەر کلاسێک تەنها یەک کلاس extends دەکات.

Exampleنموونە

class Duck extends Bird gives Duck the chirp() method of Bird.

class Duck extends Bird میتۆدی chirp()ـی Bird دەداتە Duck.

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

میراتگری، بۆماوەکە، بۆماوەی

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Proposed: بۆماوە (heredity); Aras Nuri Ahmed's dictionary calls the class-inheritance relation «پەیوەندییە بۆماوەییەکە». The diamond problem of multiple inheritance is why Dart uses mixins.

Related termsزاراوە پەیوەندیدارەکان

Learn more inزیاتر فێربە لە