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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID,PLING_QUERY,REPLYTO_WITHOUT_TO_CC,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9fa3fd87992da829,start X-Google-Attributes: gid103376,public From: "alex" Subject: Q:ADA/Java/C++ feature mapping question!? Date: 2000/01/20 Message-ID: <8672ec$e28$1@fleetstreet.Austria.EU.net>#1/1 X-Deja-AN: 575245590 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@Austria.EU.net X-Trace: fleetstreet.Austria.EU.net 948374796 14408 193.81.18.196 (20 Jan 2000 13:26:36 GMT) Organization: "private opinion" X-MSMail-Priority: Normal Reply-To: "alex" NNTP-Posting-Date: 20 Jan 2000 13:26:36 GMT Newsgroups: comp.lang.ada Date: 2000-01-20T13:26:36+00:00 List-Id: Hi, my question should be easy to answer for anyone who knows C++/Java and ADA. Unfortunately I only know C++&Java :-(. Question: What are the corresponding ADA keywords to the given C++/Java features, and which keywords do exist in ADA which have no representation in C++/Java, and what do they mean. I did have a look at the http://www.adahome.com/rm95/ Ada reference Manual, but this would be a longer way to go then I would like to. So could one of you who knows both languages help me out? C++/Java Keywords of interest to me: auto: variable has local (automatic) extent abstract (Java) pure virtual const: functions values are not modifiable explicit: Constructors declared explicit will not be considered for implicit conversions extern: Variable or function has external linkage, or linkage conversion of another language final (Java) class, method cannot be derived from or overwritten friend: function or class has access to private/protected class members interface (Java) concept for abstract interface suitable for multiple inheritance mutable: Non-static non const data members. If declared mutable it is legal to assign a value to this data member from a const member function native (Java) modifier used in the declaration of a method to indicate that the method is implemented in another programming language namespace: obvious package (Java) obvious private: visibility for class member protected: visibility for class member public: visibility for class member register: "asks" compiler to place variable in CPU register synchronized (Java) modifier to specify thread-safe methods static: linkage for variables and functions template: set of parameterized classes or functions virtual: polymorphism for functions, for classes to disable multiple members while using multiple inheritance transient (Java) modifier used in the declaration of variables volatile: type qualifier; object can be modified in the program by something other than statements, such as the operating system, the hardware, or a concurrently executing thread Thank you very much in advance for any help! cu, alex