Chapter 11. Native Methods

We hope we have convinced you that code written in the Java programming language has a number of advantages over code written in languages like C or C++ — even for platform -specific applications. Here, of course, portability is not the issue but rather features like these:

  • You are more likely to produce bug-free code with the Java programming language than with C or C++.

  • Multithreading is probably easier to code in the Java programming language ...

Get Core Java™ 2 Volume II - Advanced Features, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.