sld019.htm

来自「an excellent java tutorial for the ones 」· HTM 代码 · 共 103 行

HTM
103
字号

<!--  Presentation generated by Internet Assistant for Microsoft PowerPoint 97 -->

<HTML>
<HEAD>
<META HTTP-EQUIV="Context-Type" CONTEXT="text/html;charset=windows-1252">
<meta name="GENERATOR" content="Microsoft Internet Assistant for Microsoft PowerPoint 97">
 <TITLE>Looping and Branching Constructs</TITLE> 
</HEAD>

<BODY     >

<CENTER>
<TABLE WIDTH=100%> 
     <TR> <TD WIDTH=15% ALIGN=CENTER>
         <A HREF="sld001.htm"><IMG SRC="first.gif" BORDER=0 ALT="First"></A><BR> 
         <A HREF="sld018.htm"><IMG SRC="prev.gif" BORDER=0 ALT="Previous"></A><BR> 
         <A HREF="sld020.htm"><IMG SRC="next.gif" BORDER=0 ALT="Next"></A><BR> 
         <A HREF="sld101.htm"><IMG SRC="last.gif" BORDER=0 ALT="Last"></A><BR> 
<BR> 
         <A HREF="index.htm"><IMG SRC="info.gif" BORDER=0 ALT="Index"></A><BR> 
         <A HREF="www.cs.nott.ac.uk/~azt"><IMG SRC="home.gif" BORDER=0 ALT="Home"></A><BR> 
         <A HREF="tsld019.htm"><IMG SRC="text.gif" BORDER=0 ALT="Text"></A><BR> 
         <TD WIDTH=85% ALIGN=CENTER>         <IMG SRC="img019.GIF" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
         </TD>         </TD></TABLE>
<P>Slide 19 of 101</P>
</CENTER>
<!-- <UL>
<H2>Looping and Branching Constructs</H2>
<BR></UL></P>
<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>  -->
</Body>
</HTML>

⌨️ 快捷键说明

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