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=0.6 required=5.0 tests=BAYES_00,FROM_WORDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,949cde0d2989aae8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-16 17:16:03 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!cyclone2.usenetserver.com!newscon06.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail From: "Ken Garlington" Newsgroups: comp.lang.ada References: Subject: Re: has anyone ever used this book? Organization: ex-FlashNet, now Prodigy X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <6rL47.65$Dc.25588783@newssvr11.news.prodigy.com> NNTP-Posting-Host: 65.65.210.133 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr11.news.prodigy.com 995328834 6207069 65.65.210.133 (Mon, 16 Jul 2001 20:13:54 EDT) NNTP-Posting-Date: Mon, 16 Jul 2001 20:13:54 EDT Date: Tue, 17 Jul 2001 00:13:54 GMT Xref: archiver1.google.com comp.lang.ada:10035 Date: 2001-07-17T00:13:54+00:00 List-Id: "Beau" wrote in message news:tl6iu0c3v49b3b@corp.supernews.com... : Ada 95 Problem Solving and Program Design? I am using it in class and we : are in ch 11. We have for a problem number 6. and I cannot understand for : the life of me why we would need to construct an ADT for the bank account : AND use the currency and Dates ADT packages. I am just asking for an : explanation respectively. thanks. Don't know the book, but I assume you're asking one or both of the following questions: 1. "Why would I need an ADT for a bank account"? A bank account sounds like a reasonable class, for which an ADT and associated access functions would be useful to hide details of its implementation 2. "Why would I need ADTs for currency and dates to create a bank account"? It seems logical that an implementation of a bank account ADT would need to be built on the concepts of currency and dates. Both concepts have implementation aspects that would be useful to either hide from the user or customize, therefore they too could qualify as ADTs. : -- : ~Beau~ : beau@hiwaay.net : : :