<HTML><HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=koi8-r">
<TITLE>Ada95 Lovelace Tutorial ������ 7.1 - ��������-��������������� ����������������: �����</TITLE>
<LINK REV="made" HREF="mailto:dwheeler@ida.org">
<!-- Below are RSACi and SafeSurf ratings for this material. -->
<META http-equiv="PICS-Label" content='(PICS-1.0 "http://www.rsac.org/ratingsv01.html" l gen true comment "RSACi North America Server" by "dwheeler@ida.org" for "http://www.adahome.com/Tutorials/Lovelace" on "1996.04.04T08:15-0500" exp "1997.07.01T08:15-0500" r (n 0 s 0 v 0 l 0))'>
<META http-equiv="PICS-Label" content='(PICS-1.0 "http://www.classify.org/safesurf/" l gen true for "http://www.adahome.com/Tutorials/Lovelace/" by "dwheeler@ida.org" r (SS~~000 1 SS~~100 1))'>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1><FONT COLOR="#996600">������ 7.1 - ��������-��������������� ����������������: �����</FONT></H1>
������� ����� ������������ Ada 95 �������� �������� ������  
��������� ��������-���������������� (��) ����������������. � Ada  
������ �������������� ������ ��������� �������� �� ������ ������� � ����������  
������������ �����������, ����������� ``��������-������������''.  
������ ��� ������ �������� ����, ����� ������� � Ada ��������������  
���, ����� ������ �������� ��������-���������������� �������, �������  
� ���� ����� ���������� ����� ��� �������� ���������. ���� �� ��� ������  
������� � ��������-��������������� ��������, ������ �����  
���������� � ���������� �����. 
<P>

<H2>�������������� ������������</H2>
������� ������� �������. � ���������� ������������ ����������� ������  
������������ �������, ����������� ��������� ������. ���� ��  
������ ��������� �������� ���������� ``�������������� �������������''.  
� ���� ������� ������� � ��������� ����������� (``���������������'') ��  
������� �������. � ���� �������, ���  ������� ����������� �� ���  
�������, � �.�. ��������, ������� ``����_�������'' ����� ���� ������� ��  
������� ``�����_��������'', ``������_����'' � ``���������_�����''.   
�������������� ������������ ����� ������ ����������� � Ada � ��������������  
�����������. �������������� ������������ ��-�������� �������� ��������  
������� ������� ��������� �����, �� ��� �������� �� ������� ������,  
���� ��������� ������ ������. ������� ��� ������ � �������������� ����������� ������ 
���� ����������� ������ �������.   
<P>

<H2>��������-������������ � ��������-��������������� �������</H2>
��� ������ ������� ����� ������� ����� ����� � ���������� ``��������- 
���������������'' � ``��������-������������'' ��������� (���������  
����� ��������  ``����������� ����� ������''). ������ �� ��� ��������  
�������� ��������� ��������, ����������� ������������ �� ��������������  
������������. � ����� ������� ������� ��������� � � ������� ``��������''; ������  
������ ����������� � ���� ������ � ������ �������� ��� ����. ������� ����� ����  
��������� ��� ������������ ������, ������� ��� �������� ������.  
��������� ������� � ����� �������� �������� � ������� ����  
������� (�����  ����������� <EM>�������</EM>). ����� ���������� �������  
������ <EM>������</EM> � ��������� ������ <EM>�����_�����������_�������</EM> �  
���������� <EM>���������</EM> � <EM>�����(�����_����������)</EM>. 
����� ������� ��� ������� ���� <EM>������</EM> � ������� 
<EM>���_������</EM> � <EM>����_������</EM>. � ������ ��  
����� ����� ����������� <EM>�����_�����������_�������</EM> � ������ ������  
����� ��������������� ����������� �������� <EM>���������</EM> �  
<EM>�����(�����_����������)</EM>. � Ada ������ ������������ ��������� ������  
�������, ����������� � ������� ������� � �����. 
<P>

������� ����� ��������-���������������  � ��������-������������  
��������� ������� � ���, ��� � ��������-��������������� ������� ��������  
��������� <EM>������������</EM> ��� ����������� ������� ������������� �������� ���  
������������� ��������. ������������ ��������� ���������� �����  
����, (���������� ����� ��������), ������� �������� �� ����������� ���  
������������ � ����������� �� �� ��������.  
������������ ������������ ����� ��������� ``�������� ����� ����-��'' (�  
������� �� ��������� ``�������� ������ ����-��'' ��� ������-���� �������  
���������). ��������� ��� ������, ����� ������� ��� ����� ���� �  
������� ``��������'' � ``�������'', ������� �������� ���������������  
�����. ����� �������, �������� � ������� <EM>����� ������������</EM> ����  
<EM>������</EM>. �������, ��� ��� � ������ ``������'' 
� ����� ������ <EM>�� ������</EM>  
������������� �� ���� ������, ��� ��� ������ ���� �� ���� �������� ��  
�������, � �� ������.
<P>
��� ��������� ��� ��������� ������ � ��������, �.�. � ����� �������  
<EM>�������</EM> ����� ����� ����� �������� <EM>�����(�����_����������)</EM>. 
��� ����� ������ �������� ��, ���, ����� �������� ������ ����, ����� ������  
�������������� ��������, ����������� ������ � ���� ���  
�������������� ������������ ��� ���������� ����������� �������� ���  
���. � �������, ���  �������� ����� �������� ��������, ����������� ���  
<EM>�����_����������</EM>, � ��� ����� �������� ����� ��������� ������ �  
���������, �� �� ���������� ��� ������ �������. ����� �� �������  
����� �������������� �������� ``�����(�����_����������)'' ���  ���������,   
� ���, ����� �� ����� ���� ��������� �����-���� ������  
��������. 
<P>
��� �������� ����������� ��������-���������������� ������� ���  
���������� ������������ �����������. ������ ��� (Grady Booch) [1994] ���  
��������� ����������� ���: ``��������-���������������  
���������������� - ��� ����� ����������, � ������� ���������  
������������ � ���� ����������������� ������� ��������, ������ ��  
������� ������������ ����� ��������� ������, �  ������ �������� �������  
��������, ��������� ���������� ������������''. 
<P>
������ ������������ ��������-��������������� � ��������-������������  
�������, ���� ��������������� ���� ���������������� �� � �����������  
������� ������������ ��������������� �����������. �������� ������  
������������ ��������-��������������� ������ � ����� ����������������,  
�������� �� �������������� ������������ (� ��������� � ����  
���������, ���������� ������������� ��� ������������  
����������������, ������� ����� ����������� �����). � ������ ������ Ada  
�������������� � ����� ���������� �������-������������� �������, � �  
1995 ���� Ada ��� ��������  � ����� ��������� ���. 
<P>

<H2>��������������: �������� ���������</H2>
����� ������, ��� ��������� ��������� � ���� ����� �������� �� ������  
������ ����������. � ���������, ����������� ������� ``��������- 
���������������'' �� ����� �� � �������, ��� ��������� �������  ������  
������; ���� ������� ���  ����������� ��� ``������������ ������''. � ������  
<A HREF="http://iamwww.unibe.ch/~scg/OOinfo/FAQ/">
Object-Oriented Frequently Asked Questions (OO FAQ)</A> ���������� ����������  
��������� ����������� � �������, � ��� �� ������ � ������ ���������   
��������-��������������� �������� � ����������. �������, ��� � Ada  
���������� ������ �������� �� ������������ � �������������, � �� �����,  
��� ��� ������ ��������-��������������� ������ ���������� �����  
�����������, ��� �������� ��������������� ��������, �������� ���  
������������� � ����� ������� �������. �� FAQ �������� �����  
������������ ������� ��� ��������� �������������� ���������� ��  
��������-��������������� ��������. 
<P>
�������������� ������������, ����������� ������� ���� ����, - ���  
������� ������ ���������� � Fortran � Pascal, ���� ����� ��,  
����������� �� ������������ � �� ����������� ����������� �����. �  
���������, �� ������� ������ �������������� ������������ �  
������������ ������� ����������������, ������� ������������ ������,  
���������� ����������� ������������ �����������  
�������������� ������������. ���������� ������ �������  
���������������� �������� (�����, ��� ���������� ����������������),  
�������� ������� ������� �� ����� ������� ��������. ����� ����� ���������,  
��� ���������� ����� ������ � ��������-��������������� ������ - ��  
���� � �� ��; ����� ������ � ����� ������������ �� ����� ���������  
������������, ������� ������� �� ���� �������������.  
<!-- ?? Someday, provide a short list of recommended OO textbooks? -->
<!-- Or better yet, an on-line OO course. -->

<HR><P>
<IMG SRC="q.gif" ALT="" HEIGHT=34 WIDTH=23>
<A NAME="quiz"><FONT SIZE=+3 COLOR="#339900">����������:</FONT></A>
<P>
���� ��������� �������� ���� ��������� ������. ����� �� ��������  
����� ``��������-�������������''? 
<P>
<STRONG>������� 1</STRONG>
�������� ��������������� �������� � ����� ��������� ������  
�����������: �����, ��������_��������� � ������. ����� ��������� �������  
����, ������������ ���������� �������_������������. ����� ����� �������  
����, �� �������� �������� ��������� ��������� ``������� ����''. �����  
��������_��������� �������� ��� ��������� � ������_����� ``������'',  
��������_��������� �������� ������ ��� ������� � �������� ������ �������  
``����''. ������ ��������� ������� ``����'', ���������� ����� ������� �  
�������������� ��������� ����, � ����� �������� � �������� �����.  ���� ���  
���� �����: ������_�������_��������� � ������_�����_���������.
<P>
<STRONG>������� 2</STRONG>
��� ������� ��� ������� �������. �� ���������  
������, ����� ������������ ����� �������, ��������� ������������� �  
������ ������. ��� ������ ����� ������� ��������� �����������  
������ ������, ���� ����� ����� �� ������ ������ ��� �������� ���������  
����� �������. ��� ��������� ����������������� ������ ������� �������  
������� ������� ���������������  ������. ��� ������������� �������  
������� �������� ��������� � ��������� ������������ ���������, ��������  
��������� ���������� � ���������, ����� �������� �������� � ����������� ���.  
��� ������������� ���� � ��������� ����������� ����������� �������,  
������������ �������������, � ������� ��������� �� �����.
<P>
����� �� �������� ����� ``��������-�������������''?
<OL>
<LI><A HREF="s7s1r1.htm">������� 1.</A>
<LI><A HREF="s7s1r2.htm">������� 2.</A>
</OL>
<HR>
�� ������ �����:
<P>
<TABLE BORDER=0><TR>
<TH><A HREF="s6sf.htm">
<IMG SRC="barrowl.gif" ALT="PREVIOUS " HEIGHT=31 WIDTH=31>
������� � ����������� �������</A>
<P></TH>

<TH><A HREF="s7s2.htm">
<IMG SRC="barrowr.gif" ALT="NEXT     " HEIGHT=31 WIDTH=31>
������� � ���������� �������</A>
<P></TH>

<TH><A HREF="lesson7.htm">
<IMG SRC="barrowu.gif" ALT="OUTLINE  " HEIGHT=31 WIDTH=31>
��������� � ���������� ����� 7</A>
<P></TH>
</TR></TABLE>
<P>

<P>
<FONT SIZE=2>
<ADDRESS><A HREF="dwheeler.htm">David A. Wheeler (dwheeler@ida.org)</A></ADDRESS>
<BR>
<I>
�������: <A HREF="mailto:jus@univ.kiev.ua">���� �������</A>
&nbsp;&nbsp;����� �������� ��������: <A HREF="mailto:app@polytech.poltava.ua">�.�. �����</A>
</I>
<P>
�������� ����� ����� ��������� ��������� �� ������
"<A HREF="http://www.adahome.com/Tutorials/Lovelace/s7s1.htm">http://www.adahome.com/Tutorials/Lovelace/s7s1.htm</A>".
<P>
�������� ����� �������� ��������� �� ����� <A HREF="http://www.ada-ru.org">http://www.ada-ru.org</A>
</FONT>
<!-- This text is part of the Ada95 Lovelace tutorial program. -->
<!-- For the contents of lesson 18, the following applies: -->
<!--  Copyright (C) 1996 Ada Resource Association -->
<!--  Copyright granted to the ARA under the condition that this text -->
<!--  will be redistributed to the public domain, without restriction; -->
<!--  you may use this information in any way you with, commercially or not, -->
<!--  without restriction. -->
<!-- = -->
<!-- For all other files in Ada95 Lovelace tutorial, the following applies: -->
<!--  Copyright (C) 2003 David A. Wheeler -->
<!--  This program is free software; you can redistribute it and/or modify -->
<!--  it under the terms of the GNU General Public License as published by -->
<!--  the Free Software Foundation; either version 2 of the License, or -->
<!--  (at your option) any later version. -->
<!--  This freedom only applies to the electronic version; the author -->
<!--  and/or publisher retain all rights to non-electronic versions. -->
<!-- = -->
<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
<!-- GNU General Public License for more details. -->
<!-- = -->
<!-- You should have received a copy of the GNU General Public License -->
<!-- along with this program; if not, write to the Free Software -->
<!-- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -->
</BODY>
</HTML>