B
B
Bartar2016-07-28 17:10:39
Java
Bartar, 2016-07-28 17:10:39

How is Java symbiosis with C/C++?

Being a novice programmer, I often came across expressions like "Java is better to use with C ++". Is it really possible to write part of the program in one language and another in another? If so, can you explain in "simple" language how this happens.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor, 2016-07-28
@Bartar

read about JNI

R
Rou1997, 2016-07-28
@Rou1997

Of course you can, there are 4 main options: modular structure with libraries (JNI as an example of such a technology), client-server, command line with stdin / stdout, shared resources (files on disk or in memory).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question