መደብ

ማስታወቂያዎች
<ስክሪፕት> (adsbygoogle = window.adsbygoogle || [])። ግፋ ({});

ትርጉም – In programming, the word መደብ refers to one of the building blocks of objects oriented programming. The large number of circuits inside computers allow them to መንገድ መረጃ ወደ ተለያዩ ቦታዎች እና ውስብስብ ስሌቶችን ያካሂዱ።

Inside a class, there are two components – methods and fields (or properties). Methods can store the ኮድ for doing actions; in this example you could have a ድራይቭ method and a brake method, and maybe a turnRight and turnLeft method. Fields store data; you could have a color መስክ, a speed field and a size field.

የአጠቃቀም ምሳሌ - “As a programmer, the first thing he did inside his ፕሮግራም, was to create classes. They formed the blueprint for the rest of his code.”

ማስታወቂያዎች