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

ООП в Delphi   Найти похожие ветки 

← →
_SnAke_ ©   (2002-01-22 00:31) [0]

Есть два вопроса:
1 - Чем отличаются директивы virtual и dynamic
2 - Чем отличаются default и nodefault свойства


← →
Mbo ©   (2002-01-22 07:04) [1]

найди статьи Трепалина ( на compress.ru, interface.ru и еще где-то в сети), там довольно толково


← →
Digitman ©   (2002-01-22 09:03) [2]

Это - Delphi HELP :

1.
"Virtual versus dynamic

Virtual and dynamic methods are semantically equivalent. They differ only in the implementation of method-call dispatching at runtime. Virtual methods optimize for speed, while dynamic methods optimize for code size.

In general, virtual methods are the most efficient way to implement polymorphic behavior. Dynamic methods are useful when a base class declares many overridable methods which are inherited by many descendant classes in an application, but only occasionally overridden.
"

2.
"If a class has a default property, you can access that property with the abbreviation object[index], which is equivalent to object.property[index]. For example, given the declaration above, StringArray.Strings[7] can be abbreviated to StringArray[7]. A class can have only one default property"


← →
Digitman ©   (2002-01-22 09:05) [3]

Или еще и перевести тебе ?



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

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



Память: 0.44 MB
Время: 0.009 c
3-18695
Ars P
2002-01-09 13:38
2002.02.07
Interbase - как сделать в Stored Procedure базы вывод окошка с сообщением для пользователя?


1-18923
LamerMen
2002-01-24 09:56
2002.02.07
Что использовать TMemo TR..Edit?


3-18732
Oleg Fomicheff
2002-01-04 03:33
2002.02.07
Как прикрутить DLL от BDE?


7-19004
Genik
2001-10-25 10:13
2002.02.07
Панель задач


6-18925
Leha2000
2001-11-13 10:43
2002.02.07
Проблемы при продолжительном подключении клиента к серверу




   Наверх