⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _chapter 11.htm

📁 Core Java 2(中文名称:JAVA 2 核心技术 卷二:高级特性)这是英文版的。
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Chapter 11</title>
<link rel="stylesheet" type="text/css" href="docsafari.css">
<link rel="stylesheet" type="text/css" href="style.css">

</head>

<body>
<ul></ul>
<table width="100%" border="1" bgcolor="#EBEBFF">
  <tr>
    <td width="5%" align="left" valign="middle"><a href="_chapter%2010.htm"><img src="Larrow.gif" width="17" height="19" border="0"></a></td>
    <td align="center" valign="middle"><a class="docLink" href="Front%20matter.htm">CONTENTS</a></td>
    <td width="5%" align="right" valign="middle"><a href="_chapter%2012.htm"><img src="Rarrow.gif" width="17" height="19" border="0"></a></td>
  </tr>
</table>

<h2 class="docChapterTitle">Chapter 11. Native Methods</h2>
<ul>
  <li>
    <p class="docList"><a class="docLink" href="#c11s1">Calling a C Function from the Java Programming 
      Language</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s2">Numeric Parameters and Return Values</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s3">String Parameters</a></li>
<li><p class="docList"><a class="docLink" href="#ch11lev1sec1">Calling <tt>sprintf</tt> in a Native Method</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s4">Accessing Object Fields</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s5">Accessing Static Fields</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s6">Signatures</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s7">Calling Java Methods</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s8">Arrays</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s9">Error Handling</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s10">The Invocation API</a></li>
  <li> 
    <p class="docList"><a class="docLink" href="#c11s11">A Complete Example: Accessing the Windows 
      Registry</a></li>
</ul>
<p class="docText">We hope that you are convinced that code written in the Java 
programming language has a number of advantages over code written in languages 
like C or C++ 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -