Вниз
Скачать: CL | DM;

Скажите пожайлуста, для чего служат   Найти похожие ветки 

← →
New   (2004-10-12 15:49) [0]

Скажите пожайлуста, для чего служат такие строки в программе и функции объявленые в ней
private
protected
public


← →
begin...end ©   (2004-10-12 15:51) [1]

A private member is invisible outside of the unit or program where its class is declared. In other words, a private method cannot be called from another module, and a private field or property cannot be read or written to from another module. By placing related class declarations in the same module, you can give the classes access to one another"s private members without making those members more widely accessible.

A protected member is visible anywhere in the module where its class is declared and from any descendant class, regardless of the module where the descendant class appears. A protected method can be called, and a protected field or property read or written to, from the definition of any method belonging to a class that descends from the one where the protected member is declared. Members that are intended for use only in the implementation of derived classes are usually protected.

A public member is visible wherever its class can be referenced.


← →
New   (2004-10-12 15:53) [2]

А по-русски?



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.024 c
14-1096545934
pasha_golub
2004-09-30 16:05
2004.10.24
TheBat3.0


3-1096451320
Term
2004-09-29 13:48
2004.10.24
Есть ли какиелибо утилиты для работы с MSSQL2000


14-1096309493
Drakon
2004-09-27 22:24
2004.10.24
Опрос: Какой у вас принтер?


1-1097213546
TahirProc
2004-10-08 09:32
2004.10.24
Получение русских букв при создании Help файла с пом.«Help Worksh


10-1051253379
Aleksandr
2003-04-25 10:49
2004.10.24
Что может вызывать такую ошибку при завершении сервера MIDAS?




   Наверх