From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f9bcaf3157a9fc2c X-Google-Attributes: gid103376,public From: G Subject: What is a class in Ada ? Date: 2000/02/12 Message-ID: <38A42642.ADC205BD@interact.net.au>#1/1 X-Deja-AN: 584569341 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@interact.net.au X-Trace: news.interact.net.au 950281864 203.33.177.83 (Sat, 12 Feb 2000 02:11:04 EST) Organization: InterACT Technology Group http://www.interact.net.au/ MIME-Version: 1.0 NNTP-Posting-Date: Sat, 12 Feb 2000 02:11:04 EST Newsgroups: comp.lang.ada Date: 2000-02-12T00:00:00+00:00 List-Id: What is a class in Ada ? Does Ada have a "Class" facility in the same sense that C++ or Java have such ? Tagged records appeared to me at first to be pretty close to the class notion. There are problems though because there are no member functions in records - they approximate to C/C++ structs (yes ?). As I understand it, these are Abstract Data Types - and not in themselves dynamic objects. In C++, the definition of a class appears fairly transparent and not much more difficult than creating an instance of a record in Ada. I have not found anything in my html tutes or paper books to tell me more about "Objects" in Ada. Yet. So - are the packages of Ada the class definitions, maybe ? I am still learning, excuse my simplicity. -- G.