Is it possible to a Java class to implement a C++ interface (interface meaning a full abstract class)? Where can I read more about?
+1
A:
Not in the general sense, no. C++ classes do not exist in the compiled binary the vast majority of the time.
Billy ONeal
2010-04-14 16:03:01
A:
Java class can implement Java interface. Java/C++ communication is done using JNI.
Ha
2010-04-14 16:03:40
+2
A:
Not directly, no. However, you can create a C++ implementation of that interface that simply delegates to a Java implementation via JNI. See the JNI Specification for more details.
Anon
2010-04-14 16:07:17