n the code, you should be able to figure out the example.
In addition, you should be able to figure out how to return values from and
pass values into native methods, and about some of the helper functions and
macros provided by the Java development environment that provide the connection
between the Java language and C.

<h4>The Example</h4>
<blockquote>
The example consists of a simple "character-replace" program. You invoke
the program with these command line arguments:
<blockquote>
<pre>
<em>char1 char2