software engineer &        architecture


C++ Constructs - similar to Java

In this chapter, an overview and reference about the language of ACDK, in comparison to the one of Java, will be shown.

Although ACDK try to implement the components in a Java like manner, there are significant differences between Java and ACDK. Please read these chapters carefully to understand how to build ACDK classes and components.
Sub chapter pages:

In Java and ACDK, you usually only handle objects via references.

How to use casting in ACDK with several differences compared to Java.

In this chapter, you can see how to use arrays and basic types of Objects.

How to import Class defintions in your source file.

In Java, the instanceof is an operator. In acdk, it can be used in a similiar way.

In Java, the classes are organized in packages. In ACDK, namespaces work in a similar way.

In Java and ACDK, synchronization is handled via the Object instance.

In ACDK Exeption, handling is implemented as a standard C++ mechanism with some extionsion.

There is no 'finally' in ACDK. But you can use other constructs with the same effect.

In ACDK, there are some constructs that should be avoided.

In Java, objects are always allocated in a heap. In ACDK, you can be much more flexible.

In Java the class acdk.lang.String is not a normal class, but support some special features. Most of them and some additionally are provided in ACDK.

Last modified 2005-05-08 18:15 by SYSTEM By Artefaktur, Ing. Bureau Kommer