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

📄 tsld021.htm

📁 an excellent java tutorial for the ones who is not a beginner of this language
💻 HTM
字号:

<HTML>

<HEAD>
<META HTTP-EQUIV="Context-Type" CONTEXT="text/html;charset=windows-1252">
<meta name="GENERATOR" content="Microsoft Internet Assistant for PowerPoint 97">
 <TITLE>Using Arrays Example</TITLE> 
</HEAD>

<BODY     >

 <H1>Using Arrays Example</H1> 
 <P><UL>

<BR></UL><UL>
public class InitArrays {
</UL><UL>

</UL><UL>
   public static void main (String[] argv) {
</UL><UL>
     int [] numArray;        // declaration	
</UL><UL>
     numArray = new int[10]; // creation
</UL><UL>
     for (int x=0; x&#060numArray.length; x++) {
</UL><UL>
        numArray[x] = x * 2;
</UL><UL>
     }
</UL><UL>
     for (int x=0; x&#060numArray.length; x++) {
</UL><UL>
	System.out.println("position " + x + 
</UL><UL>
			" contains: " + numArray[x] );
</UL><UL>
     }
</UL><UL>
   }
</UL><UL>
}</UL></P>
<P></P> 
<P>
<TABLE>
  <TD HEIGHT=100 WIDTH=100> <A HREF="tsld020.htm">Previous slide</A> </TD>
  <TD HEIGHT=100 WIDTH=100> <A HREF="tsld022.htm">Next slide</A> </TD>
  <TD HEIGHT=100 WIDTH=150> <A HREF="tsld001.htm">Back to first slide</A> </TD>
  <TD HEIGHT=100 WIDTH=150> <A HREF="sld021.htm">View graphic version</A> </TD>
</TABLE>
<BR>
</P>



</Body>
</HTML>

⌨️ 快捷键说明

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