From: "alex" <nulldevice@hotmail.com>
Subject: Q:ADA/Java/C++ feature mapping question!?
Date: 2000/01/20
Date: 2000-01-20T13:26:36+00:00 [thread overview]
Message-ID: <8672ec$e28$1@fleetstreet.Austria.EU.net> (raw)
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
next reply other threads:[~2000-01-20 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-20 0:00 alex [this message]
2000-01-20 0:00 ` Q:ADA/Java/C++ feature mapping question!? carlislemc
2000-01-20 0:00 ` alex
2000-01-20 0:00 ` Tucker Taft
2000-01-20 0:00 ` Brian Rogoff
2000-01-20 0:00 ` Ted Dennison
2000-01-20 0:00 ` Jim Rogers
2000-01-20 0:00 ` Vladimir Olensky
2000-01-21 0:00 ` alex
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox