That is a phone interview question.
Assume you have a C++ code, you want to implement the code by using Java rather than rewriting the code. How would you solve that?
I cannot figure out this question. Can anyone told me the solution?(is it possible by import some package or java library?)
Thanks
ProcessBuilderto run a C++ compiler. Well, you'd be using Java like they asked...