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

📄 sld090.htm

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

<!--  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>Reading String Input Example</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="sld089.htm"><IMG SRC="prev.gif" BORDER=0 ALT="Previous"></A><BR> 
         <A HREF="sld091.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="tsld090.htm"><IMG SRC="text.gif" BORDER=0 ALT="Text"></A><BR> 
         <TD WIDTH=85% ALIGN=CENTER>         <IMG SRC="img090.GIF" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
         </TD>         </TD></TABLE>
<P>Slide 90 of 101</P>
</CENTER>
<!-- <UL>
<H2>Reading String Input Example</H2>
<BR></UL></P>
<P><UL>
<H2>import java.io.* ;
</H2>
<BR></UL><UL>
<H2>	public class CharInput {
</H2>
</UL><UL>
<H2>	     public static void main(String[] argv) {
</H2>
</UL><UL>
<H2>		String s;
</H2>
</UL><UL>
<H2>		InputStreamReader ir;
</H2>
</UL><UL>
<H2>		BufferedReader in;
</H2>
</UL><UL>
<H2>		ir = new InputStreamReader(System.in)
</H2>
</UL><UL>
<H2>		in = new BufferedReader(ir); // where does the try go ?
</H2>
</UL><UL>
<H2>		while ((s = in.readLine()) !=null) {
</H2>
</UL><UL>
<H2>			System.out.println(揈cho line:

⌨️ 快捷键说明

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