comp.lang.ada
 help / color / mirror / Atom feed
* Q:ADA/Java/C++ feature mapping question!?
@ 2000-01-20  0:00 alex
  2000-01-20  0:00 ` Vladimir Olensky
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: alex @ 2000-01-20  0:00 UTC (permalink / 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







^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2000-01-21  0:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-20  0:00 Q:ADA/Java/C++ feature mapping question!? alex
2000-01-20  0:00 ` Vladimir Olensky
2000-01-20  0:00 ` Jim Rogers
2000-01-20  0:00 ` Tucker Taft
2000-01-20  0:00   ` Ted Dennison
2000-01-20  0:00   ` Brian Rogoff
2000-01-20  0:00 ` carlislemc
2000-01-20  0:00   ` alex
2000-01-21  0:00 ` alex

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox