C++ Neural Networks and Fuzzy Logic: Preface


Object A accessible to Object B



Download 1,14 Mb.
Pdf ko'rish
bet39/443
Sana29.12.2021
Hajmi1,14 Mb.
#77367
1   ...   35   36   37   38   39   40   41   42   ...   443
Bog'liq
C neural networks and fuzzy logic

Object A accessible to Object B but not to Object C. This access qualification can also be used for data

members inside an object. The encapsulation of data and the intended operations on them prevents the data

from being subjected to operations not meant for them. This is what really makes objects reusable and

portable! The operations are usually given in the form of functions operating upon the data items. Such

functions are also called methods in some object−oriented programming languages. The data items and the

functions that manipulate them are combined into a structure called a class. A class is an abstract data type.

When you make an instance of a class, you have an object. This is no different than when you instantiate an

C++ Neural Networks and Fuzzy Logic:Preface

Chapter 2 C++ and Object Orientation

30



integer type to create variables i and j. For example, you design a class called ElectronicBook, with a data

element called ArrayofPages. When you instantiate your class you make objects of type ElectronicBook.

Suppose that you create two of these called EB_Geography and EB_History. Every object that is

instantiated has its own data member inside it, referred to by ArrayOfPages.




Download 1,14 Mb.

Do'stlaringiz bilan baham:
1   ...   35   36   37   38   39   40   41   42   ...   443




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