www.delorie.com/gnu/docs/gcc/gcj_23.html   search  
Buy the book!

Guide to GNU gcj

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.1.1 Limitations

Whilst a Java class is just a C++ class that doesn't mean that you are freed from the shackles of Java, a CNI C++ class must adhere to the rules of the Java programming language.

For example: it is not possible to declare a method in a CNI class that will take a C string (char*) as an argument, or to declare a member variable of some non-Java datatype.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003