December 2016
Intermediate to advanced
1088 pages
33h 9m
English
In this chapter
• 12.1 Calling a C Function from a Java Program
• 12.2 Numeric Parameters and Return Values
• 12.7 Accessing Array Elements
While a “100% Pure Java” solution is nice in principle, there are situations in which you will want to write (or use) code written in another language. (Such code is usually called native code.)
Particularly in the early days of Java, many people assumed that it would be a good idea to use C or C++ to speed up critical parts of a Java application. However, in practice, ...
Read now
Unlock full access