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

📄 tsld019.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>Looping and Branching Constructs</TITLE> 
</HEAD>

<BODY     >

 <H1>Looping and Branching Constructs</H1> 
 <P><UL>
<LI><H2>If-else
</H2>
</UL><UL>
<H2>if ( boolean-expression )
</H2>
</UL><UL>
<H2>statement1;
</H2>
</UL><UL>
<H2>[ else 
</H2>
</UL><UL>
<H2>statement2; ]
</H2>
</UL><UL>
<LI><H2>
</H2>
</UL><UL>
<LI><H2>Switch-case
</H2>
</UL><UL>
<H2>switch ( int-value ) {
</H2>
</UL><UL>
<H2>         case int-value1:
</H2>
</UL><UL>
<H2>           break;
</H2>
</UL><UL>
<H2>         case int-value2:
</H2>
</UL><UL>
<H2>           break;
</H2>
</UL><UL>
<H2>         default:
</H2>
</UL><UL>
<H2>       }</H2>
</UL></P>
<P><UL>
<LI>while
</UL><UL>
[initialization]
</UL><UL>
       while ( boolean-expression ) {
</UL><UL>
         [statements]
</UL><UL>
         [iteration]
</UL><UL>
       }
</UL><UL>

</UL><UL>
<LI>for loops
</UL><UL>
for ([initialization];
</UL><UL>
	[ boolean-expression ]; 
</UL><UL>
	[iteration]) {
</UL><UL>
         [statements]
</UL><UL>
  }
</UL></P>
<P></P> 
<P>
<TABLE>
  <TD HEIGHT=100 WIDTH=100> <A HREF="tsld018.htm">Previous slide</A> </TD>
  <TD HEIGHT=100 WIDTH=100> <A HREF="tsld020.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="sld019.htm">View graphic version</A> </TD>
</TABLE>
<BR>
</P>



</Body>
</HTML>

⌨️ 快捷键说明

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