-
21 object
= OBJ1) объекта) одно из базовых понятий объектно-ориентированного программирования, ООП (см. OOP), с помощью которого осуществляется программное представление сущностей реального мира. Объект - экземпляр класса; обладает свойствами наследования, инкапсуляции и полиморфизма. Объединяет в себе данные (property) и операции над ними (методы, method). Реализуется в компьютере как динамически размещаемая сложная структура данных, т. е. каждый объект имеет собственный набор полей, определённых его классом, а методы объекты используют совместно. Объект может рассматриваться как абстрактный тип данных (abstract data type). Каждый объект имеет собственное имя или идентификационный номер. Объекты создаются и уничтожаются с помощью специальных методов - конструкторов (constructor) и деструкторов (destructor). Структуры данных и реализация методов объекта невидима для других объектов в системе. Объекты взаимодействуют между собой, посылая друг другу сообщения (message). В ответ на сообщение объект выполняет один из методов, чтобы удовлетворить полученный запрос, при этом интерпретация сообщения лежит целиком на объекте-получателе. Таким образом различные объекты могут реагировать на одно и то же сообщение по разному. Действия, выполняемые объектом, называют его поведением (behaviour). Объекты - основная единица построения программной системы. Объекты с общими свойствами и методами объединены в классы. Чаще всего термин "объект" трактуется как синоним слова экземпляр, однако иногда может использоваться и для обозначения классасм. тж. active object, aggregate object, ancestor object, class object, collection, composite object, conceptual object, container object, database object, dynamic object, encapsulation, information hiding, inheritance, instance, object conversion, object handler, object header, object identity, object interface, object library, object manager, object model, object orientation, object pool, object reference, object reuse, object technology, object type, OODB, ODL, OOL, passive object, polymorphism, reusable object, Simulaсм. тж. 3D object2) предмет3) цельсм. тж. target4) объектныйАнгло-русский толковый словарь терминов и сокращений по ВТ, Интернету и программированию. > object
-
22 polymorphism
1) центральное понятие в ООП, обозначающее способность объекта выбирать правильный метод (внутреннюю процедуру объекта) в зависимости от типа данных, полученных в сообщении (message). Благодаря полиморфизму объект выполняет нужные действия, даже если содержимое сообщения было неизвестно во время написания программы. Другими словами - это использование под одним именем различных процедур, связанных с обработкой данных разного типа, например операции сложения (+) для вещественных и целых чисел. В более общем смысле, полиморфизм даёт возможность абстрагирования свойствАнгло-русский толковый словарь терминов и сокращений по ВТ, Интернету и программированию. > polymorphism
- 1
- 2
См. также в других словарях:
Data encapsulation — may refer to: The wrapping of private data in classes in object oriented programming languages: see information hiding and separation of concerns OSI model in network protocol design This disambiguation page lists articles associated with the… … Wikipedia
Encapsulation (computer science) — Encapsulation is the grouping together of data and functionality.While the C language used structs to group data together, C++ adds thefunctionality component. This does the following: # Allows a programmer to explicitly provide the interface to… … Wikipedia
Data, context and interaction — (DCI) is a paradigm used in computer software to program systems of communicating objects. Its goals are: To improve the readability of object oriented code by giving system behavior first class status; To cleanly separate code for rapidly… … Wikipedia
Data center bridging — (DCB) refers to a set of enhancements to Ethernet local area networks for use in data center environments. Specifically, DCB goals are, for selected traffic, to eliminate loss due to queue overflow and to be able to allocate bandwidth on links.… … Wikipedia
Encapsulation (networking) — In computer networking, encapsulation is a method of designing modular communication protocols in which logically separate functions in the network are abstracted from their underlying structures by inclusion or information hiding within higher… … Wikipedia
Encapsulation — Wiktionarypar|encapsulationEncapsulation may refer to: * molecular encapsulation, in chemistry, the confinement of an individual molecule within a larger molecule * encapsulation (networking), in computer networking, to include data from an upper … Wikipedia
Data link layer — The OSI model 7 Application layer 6 Presentation layer 5 Session layer 4 Transport layer 3 Network layer 2 … Wikipedia
Data model — Overview of data modeling context: A data model provides the details of information to be stored, and is of primary use when the final product is the generation of computer software code for an application or the preparation of a functional… … Wikipedia
Data Link Layer — The Data Link Layer is Layer 2 of the seven layer OSI model. It responds to service requests from the Network Layer and issues service requests to the Physical Layer.The Data Link Layer is the protocol layer which transfers data between adjacent… … Wikipedia
encapsulation — n. state of being enclosed within a capsule; act of placing or enclosing in a capsule; insertion of all methods and data needed for independent operation into one program; (Telecommunications) inclusion of one data structure within another … English contemporary dictionary
encapsulation — The process of inserting the frame header and data from a higherlevel protocol into the data frame of a lower level protocol. See also tunneling … Dictionary of networking