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,aef01dc1d0a3a8bd X-Google-Attributes: gid103376,public From: Hyman Rosen Subject: Re: Dummy Date: 2000/02/03 Message-ID: #1/1 X-Deja-AN: 581089759 Sender: hymie@calumny.jyacc.com References: <387b154a.3533365@newsread.albacom.net> <3898C380.BC01EC03@earthlink.net> X-Complaints-To: abuse@panix.com X-Trace: news.panix.com 949586930 22676 209.49.126.226 (3 Feb 2000 14:08:50 GMT) Organization: PANIX Public Access Internet and UNIX, NYC NNTP-Posting-Date: 3 Feb 2000 14:08:50 GMT Newsgroups: comp.lang.ada Date: 2000-02-03T14:08:50+00:00 List-Id: Charles Hixson writes: > Java is more Object Oriented than Ada is, but less type safe. > (Those casts are a really bad idea that is carried forwards from C.) Java casts are always perfectly safe. Casts between object types are akin to C++'s dynamic_cast, in that they are type-checked at runtime and will fail if the cast is not valid.