Microsoft Word OpenIssuesInOO. doc


Separation of interface and implementation



Download 1,28 Mb.
Pdf ko'rish
bet30/51
Sana29.08.2021
Hajmi1,28 Mb.
#158917
1   ...   26   27   28   29   30   31   32   33   ...   51
Bog'liq
OpenIssuesInOO

Separation of interface and implementation 

An argument for distinguishing between type and class is the separation of interface and 

implementation. The type defines the interface and the class defines the implementation. It 

is definitely necessary to be able to separate the interface of a class from its implementation, 

and most object-oriented languages supports such a separation. Basically there are three 

ways: 


The abstract data types (ADT) approach.There are pre-defined rules for what is visible 

via the interface. Often operations (methods) are visible whereas (instance) variables 

are hidden. This is called the ADT-approach since an ADT is a type characterised in 

terms of its operations. Smalltalk is an example of a language using the ADT-approach. 




Download 1,28 Mb.

Do'stlaringiz bilan baham:
1   ...   26   27   28   29   30   31   32   33   ...   51




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish