Is it possible to a Java class to implement a C++ interface (interface meaning a full abstract class)? Where can I read more about?
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.
Yes, you have to use JNI.
Here's a tutorial from Sun / Oracle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With