P. 1
Ada Programming

Ada Programming

|Views: 33|Likes:
Published by batfink_s

More info:

Published by: batfink_s on Jun 22, 2009
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





An Ada class consists of three building blocks:
•a package
•a record (data storage)
•primitive operations (methods).
This is different from C++ which has no concept of a package.
Note: Rigorously the meaning of the term class is different in Ada than in C++,
Java and others. In Ada, a class is a special type whose values are those of the
union of all the types derived from a given tagged type, called the class-wide
type. In C++, the term class is a bit polysemic, it does mean the former concept,
and it is a concrete type with operations associated, and finally a construct to
define them.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->