ï»??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品成人精品456,高清福利在线观看,久久久久久久久久亚洲http://www.aygfsteel.com/lzqdiy/category/21769.htmlJava我选择åQŒæˆ‘喜欢ã€?/description>zh-cnWed, 05 Mar 2008 20:04:52 GMTWed, 05 Mar 2008 20:04:52 GMT60某外包公司笔试题http://www.aygfsteel.com/lzqdiy/articles/183967.htmlæˆ‘äØ“Jç‹?/dc:creator>æˆ‘äØ“Jç‹?/author>Wed, 05 Mar 2008 06:21:00 GMThttp://www.aygfsteel.com/lzqdiy/articles/183967.htmlhttp://www.aygfsteel.com/lzqdiy/comments/183967.htmlhttp://www.aygfsteel.com/lzqdiy/articles/183967.html#Feedback0http://www.aygfsteel.com/lzqdiy/comments/commentRss/183967.htmlhttp://www.aygfsteel.com/lzqdiy/services/trackbacks/183967.html¾~–程题:åŽÀLŽ‰å­—ç¬¦ä¸²ä¸­å¤šä½™çš?0",
例如
0-->0
3-->3
000-->0
01010-->101
301100-->3011
00103-->103
1020.00-->1020
001.0100-->1.01
00.003-->0.003
若字½W¦ä¸²ä¸­å­—½W?,E+-)åˆ™äØ“éžæ³•å­—ç¬¦ä¸ŒÓ€?/p>
public class RemoveZero {

    
/**
         * 
@param args
         
*/
    
static String removeFirst(String str) {
    
while (true) {
        
if (str.length() > 1) {
        
char c = str.charAt(0);
        
char nextC = str.charAt(1);
        
if (c != '0') {
            
break;
        } 
else {
            
if (nextC == '.') {
            
break;
            } 
else {
            str 
= str.substring(1);
            }
        }
        } 
else {
        
break;
        }
    }
    
return str;
    }

    
static String removeLast(String str) {
    
while (true) {
        
if (str.length() > 1) {
        
char c = str.charAt(str.length() - 1);
        
char beforeC = str.charAt(str.length() - 2);
        
if (c != '0') {
            
break;
        } 
else {
            
if (beforeC == '.') {
            str 
= str.substring(0, str.length() - 2);
            
break;
            } 
else {
            str 
= str.substring(0, str.length() - 1);
            }
        }
        } 
else {
        
break;
        }
    }
    
return str;
    }

    
static boolean isCorrect(String str) {
    
return !str.contains("E"&& !str.contains(","&& !str.contains("+")
        
&& !str.contains("-");
    }

    
public static void main(String[] args) {
    String str 
= "003E+3";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符(,E+-)!");
    }
    str 
= "0";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符,E+-!");
    }
    str 
= "3";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符,E+-!");
    }
    str 
= "000";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符,E+-!");
    }
    str 
= "01010";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符,E+-!");
    }
    str 
= "301100";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符,E+-!");
    }
    str 
= "00103";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符,E+-!");
    }
    str 
= "1020.00";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符,E+-!");
    }
    str 
= "001.0100";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符,E+-!");
    }
    str 
= "00.003";
    
if (isCorrect(str)) {
        System.out.println(str 
+ "-->" + removeLast(removeFirst(str)));
    } 
else {
        System.out.println(
"字符串中含有非法字符,E+-!");
    }
    }
}


]]>
‹¹‹è¯•½E‹åºåº”该˜q™æ ·å†?/title><link>http://www.aygfsteel.com/lzqdiy/articles/118149.html</link><dc:creator>æˆ‘äØ“Jç‹?/dc:creator><author>æˆ‘äØ“Jç‹?/author><pubDate>Thu, 17 May 2007 10:50:00 GMT</pubDate><guid>http://www.aygfsteel.com/lzqdiy/articles/118149.html</guid><wfw:comment>http://www.aygfsteel.com/lzqdiy/comments/118149.html</wfw:comment><comments>http://www.aygfsteel.com/lzqdiy/articles/118149.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/lzqdiy/comments/commentRss/118149.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/lzqdiy/services/trackbacks/118149.html</trackback:ping><description><![CDATA[<p>大家都知道,ä¸ÞZº†‹¹‹è¯•åQŒå¼€å‘äh员经常在代码中加入System.out.println()˜q™æ ·çš„æµ‹è¯•语句,但是˜q™æ ·åšåƈ不好åQŒå°¤å…¶æ˜¯ž®†æ‰“印语句写在åó@环中的时候,更加影响性能。正¼‹®çš„æ–ÒŽ³•应当是引入一个包装器æ–ÒŽ³•ã€?br></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img id=Codehighlighter1_0_38_Open_Image onclick="this.style.display='none'; Codehighlighter1_0_38_Open_Text.style.display='none'; Codehighlighter1_0_38_Closed_Image.style.display='inline'; Codehighlighter1_0_38_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_0_38_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_0_38_Closed_Text.style.display='none'; Codehighlighter1_0_38_Open_Image.style.display='inline'; Codehighlighter1_0_38_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedBlock.gif" align=top><span id=Codehighlighter1_0_38_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</span><span id=Codehighlighter1_0_38_Open_Text><span style="COLOR: #008000">/*</span><span style="COLOR: #008000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top> *@author æˆ‘䨓Jç‹?nbsp;建立日期 2007-5-17<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top> *<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top> </span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000"> Test<br><img id=Codehighlighter1_59_718_Open_Image onclick="this.style.display='none'; Codehighlighter1_59_718_Open_Text.style.display='none'; Codehighlighter1_59_718_Closed_Image.style.display='inline'; Codehighlighter1_59_718_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_59_718_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_59_718_Closed_Text.style.display='none'; Codehighlighter1_59_718_Open_Image.style.display='inline'; Codehighlighter1_59_718_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_59_718_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_59_718_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">final</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> DEBUG_MODE </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">final</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> RUN_MODE </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">;<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> calculationWithPrint(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> logMode)<br><img id=Codehighlighter1_198_370_Open_Image onclick="this.style.display='none'; Codehighlighter1_198_370_Open_Text.style.display='none'; Codehighlighter1_198_370_Closed_Image.style.display='inline'; Codehighlighter1_198_370_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_198_370_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_198_370_Closed_Text.style.display='none'; Codehighlighter1_198_370_Open_Image.style.display='inline'; Codehighlighter1_198_370_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </span><span id=Codehighlighter1_198_370_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_198_370_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        </span><span style="COLOR: #0000ff">double</span><span style="COLOR: #000000"> someValue </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 0D;<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> (</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; i </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">100</span><span style="COLOR: #000000">; i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br><img id=Codehighlighter1_259_367_Open_Image onclick="this.style.display='none'; Codehighlighter1_259_367_Open_Text.style.display='none'; Codehighlighter1_259_367_Closed_Image.style.display='inline'; Codehighlighter1_259_367_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_259_367_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_259_367_Closed_Text.style.display='none'; Codehighlighter1_259_367_Open_Image.style.display='inline'; Codehighlighter1_259_367_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </span><span id=Codehighlighter1_259_367_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_259_367_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>            someValue </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> someValue </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> i;<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>            myPrintMethod(logMode, someValue);</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">不要直接写System.out.prinltn()åQŒå¦åˆ™å¾ˆå½±å“æ€§èƒ½ã€?/span><span style="COLOR: #008000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top></span><span style="COLOR: #000000">        }</span></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>    }</span></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> myPrintMethod(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> logMode, </span><span style="COLOR: #0000ff">double</span><span style="COLOR: #000000"> value)<br><img id=Codehighlighter1_435_521_Open_Image onclick="this.style.display='none'; Codehighlighter1_435_521_Open_Text.style.display='none'; Codehighlighter1_435_521_Closed_Image.style.display='inline'; Codehighlighter1_435_521_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_435_521_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_435_521_Closed_Text.style.display='none'; Codehighlighter1_435_521_Open_Image.style.display='inline'; Codehighlighter1_435_521_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </span><span id=Codehighlighter1_435_521_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_435_521_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> (logMode </span><span style="COLOR: #000000">></span><span style="COLOR: #000000"> Test.DEBUG_MODE)<br><img id=Codehighlighter1_473_488_Open_Image onclick="this.style.display='none'; Codehighlighter1_473_488_Open_Text.style.display='none'; Codehighlighter1_473_488_Closed_Image.style.display='inline'; Codehighlighter1_473_488_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_473_488_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_473_488_Closed_Text.style.display='none'; Codehighlighter1_473_488_Open_Image.style.display='inline'; Codehighlighter1_473_488_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </span><span id=Codehighlighter1_473_488_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_473_488_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>            </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">;<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</span></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        System.out.println(value);<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>    }</span></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> main(String[] n)<br><img id=Codehighlighter1_562_716_Open_Image onclick="this.style.display='none'; Codehighlighter1_562_716_Open_Text.style.display='none'; Codehighlighter1_562_716_Closed_Image.style.display='inline'; Codehighlighter1_562_716_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_562_716_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_562_716_Closed_Text.style.display='none'; Codehighlighter1_562_716_Open_Image.style.display='inline'; Codehighlighter1_562_716_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </span><span id=Codehighlighter1_562_716_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_562_716_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        Test.calculationWithPrint(Test.RUN_MODE);</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">˜qè¡Œæ¨¡å¼åQŒä¸æ‰§è¡ŒSystem.out.println();</span><span style="COLOR: #008000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #000000">        Test.calculationWithPrint(Test.DEBUG_MODE);</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">调试模式åQŒæ‰§è¡ŒSystem.out.println();</span><span style="COLOR: #008000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top></span><span style="COLOR: #000000">    }</span></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span></div> <img src ="http://www.aygfsteel.com/lzqdiy/aggbug/118149.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/lzqdiy/" target="_blank">æˆ‘äØ“Jç‹?/a> 2007-05-17 18:50 <a href="http://www.aygfsteel.com/lzqdiy/articles/118149.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java¾cÖM¸­è°ƒç”¨å¯æ‰§è¡Œæ–‡ä»?/title><link>http://www.aygfsteel.com/lzqdiy/articles/111752.html</link><dc:creator>æˆ‘äØ“Jç‹?/dc:creator><author>æˆ‘äØ“Jç‹?/author><pubDate>Wed, 18 Apr 2007 13:27:00 GMT</pubDate><guid>http://www.aygfsteel.com/lzqdiy/articles/111752.html</guid><wfw:comment>http://www.aygfsteel.com/lzqdiy/comments/111752.html</wfw:comment><comments>http://www.aygfsteel.com/lzqdiy/articles/111752.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/lzqdiy/comments/commentRss/111752.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/lzqdiy/services/trackbacks/111752.html</trackback:ping><description><![CDATA[<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff">try</span><span style="COLOR: #000000"><br><img id=Codehighlighter1_4_124_Open_Image onclick="this.style.display='none'; Codehighlighter1_4_124_Open_Text.style.display='none'; Codehighlighter1_4_124_Closed_Image.style.display='inline'; Codehighlighter1_4_124_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_4_124_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_4_124_Closed_Text.style.display='none'; Codehighlighter1_4_124_Open_Image.style.display='inline'; Codehighlighter1_4_124_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_4_124_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_4_124_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>   Runtime.getRuntime().exec (</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">c:\\Program Files\\Windows NT\\Accessories\\wordpad.exe F:\\xxxx.java</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> );<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>   }</span></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">catch</span><span style="COLOR: #000000">(IOException e)<br><img id=Codehighlighter1_147_175_Open_Image onclick="this.style.display='none'; Codehighlighter1_147_175_Open_Text.style.display='none'; Codehighlighter1_147_175_Closed_Image.style.display='inline'; Codehighlighter1_147_175_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_147_175_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_147_175_Closed_Text.style.display='none'; Codehighlighter1_147_175_Open_Image.style.display='inline'; Codehighlighter1_147_175_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_147_175_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_147_175_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>   e.printStackTrace();  <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span></div> 以上的代码实现的功能是:用记事本½E‹åºæ‰“å¼€Javaæ–‡äšgF:\\xxxx.java <img src ="http://www.aygfsteel.com/lzqdiy/aggbug/111752.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/lzqdiy/" target="_blank">æˆ‘äØ“Jç‹?/a> 2007-04-18 21:27 <a href="http://www.aygfsteel.com/lzqdiy/articles/111752.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> Ö÷Õ¾Ö©Öë³ØÄ£°å£º <a href="http://" target="_blank">èëÄÏÏØ</a>| <a href="http://" target="_blank">×ñÒåÊÐ</a>| <a href="http://" target="_blank">½ð»ªÊÐ</a>| <a href="http://" target="_blank">ÄÒÇ«ÏØ</a>| <a href="http://" target="_blank">¸ï¼ªÏØ</a>| <a href="http://" target="_blank">¤´¨ÏØ</a>| <a href="http://" target="_blank">º×·åÏØ</a>| <a href="http://" target="_blank">À¼ÏªÊÐ</a>| <a href="http://" target="_blank">ÕòÔ­ÏØ</a>| <a href="http://" target="_blank">°ÍÂí</a>| <a href="http://" target="_blank">±£µÂÏØ</a>| <a href="http://" target="_blank">ÖÐÑôÏØ</a>| <a href="http://" target="_blank">Æ½Ô¶ÏØ</a>| <a href="http://" target="_blank">Ï¢·éÏØ</a>| <a href="http://" target="_blank">ÓÀ¸£ÏØ</a>| <a href="http://" target="_blank">·î½ÚÏØ</a>| <a href="http://" target="_blank">±¦·áÏØ</a>| <a href="http://" target="_blank">Äþ²¨ÊÐ</a>| <a href="http://" target="_blank">¶¨ÌÕÏØ</a>| <a href="http://" target="_blank">ÀÖÁêÊÐ</a>| <a href="http://" target="_blank">ÇúÎÖÏØ</a>| <a href="http://" target="_blank">ÎÂÈªÏØ</a>| <a href="http://" target="_blank">ƽÀÖÏØ</a>| <a href="http://" target="_blank">ÉÇβÊÐ</a>| <a href="http://" target="_blank">¦·³ÏØ</a>| <a href="http://" target="_blank">Ïç³ÇÏØ</a>| <a href="http://" target="_blank">»´°²ÊÐ</a>| <a href="http://" target="_blank">¶î¼ÃÄÉÆì</a>| <a href="http://" target="_blank">Å̽õÊÐ</a>| <a href="http://" target="_blank">·ï»ËÏØ</a>| <a href="http://" target="_blank">¶«¹âÏØ</a>| <a href="http://" target="_blank">À³ÎßÊÐ</a>| <a href="http://" target="_blank">å´²ýÏØ</a>| <a href="http://" target="_blank">Îå·å</a>| <a href="http://" target="_blank">½õÖÝÊÐ</a>| <a href="http://" target="_blank">Ã÷ÐÇ</a>| <a href="http://" target="_blank">ºÍÆ½Çø</a>| <a href="http://" target="_blank">À¼ÏªÊÐ</a>| <a href="http://" target="_blank">ºôÂ×±´¶ûÊÐ</a>| <a href="http://" target="_blank">½¨ÑôÊÐ</a>| <a href="http://" target="_blank">ÀûÐÁÏØ</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>