Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

[vb]ʹÓÃvbͳ¼Æ.javaµÄÐÐÊý

 ¹¤×÷ÐèÒª£¬Õë¶ÔjavaÎļþ£¬×÷ÁËÒ»¸öÐÐÊýͳ¼ÆµÄ¹¤¾ß¡£Í³¼ÆµÄÖ÷Òª´úÂëÈçÏ£º
    Set srcIn = fso.OpenTextFile(fileNm, ForReading)
    
    Do While Not srcIn.AtEndOfStream
        buf = srcIn.ReadLine
       
        'java×ÜÐÐÊý
        allLinex = allLinex + 1
        'java¿Õ°×ÐÐ
        If Not flg And Trim(Replace(buf, vbTab, "")) = "" Then
            'Debug.Print fileNm & ":" & allLinex
            blankLinex = blankLinex + 1
        End If
        'java×¢ÊÍÐÐ
        If flg Then
            If InStr(buf, "*/") > 0 Then
                flg = False
            End If
            commentLinex = commentLinex + 1
        ElseIf InStr(Trim(Replace(buf, vbTab, "")), "//") = 1 Then
            commentLinex = commentLinex + 1
        End If
        If InStr(Trim(Replace(buf, vbTab, "")), "/*") = 1 Then
            flg = True
            commentLinex = commentLinex + 1
        End If
        If flg An


Ïà¹ØÎĵµ£º

Java СÀý×Ó£ºÐÐÁÐʽºÍ¼¦ÍÃͬÁýÎÊÌâ

¼¦ÍÃͬÁýÎÊÌâ¾ÍÊǶþÔªÒ»´Î·½³Ì×飬¸ßµÈÊýѧÀïÃæÓÃÐÐÁÐʽÀ´½â´Ë·½³Ì¡£¾ßÌå¹ý³Ì¿É Google “ÐÐÁÐʽ ¶þÔªÒ»´Î·½³Ì×é
”¡£¶ÔÓÚ¼¦ÍÃͬÁýÎÊÌ⻹Ҫ¼ÓÉÏÒ»¸öÏÞÖÆ£º·½³ÌµÄ½â±ØÐëÊÇÕýÕûÊý¡£
ÏÂÃæÊÇ´úÂëʾÀý£º
/**
* ¼¦ÍÃͬÁýÎÊÌâ¡£½â·¨Çë Google£º“ÐÐÁÐʽ ¶þÔªÒ»´Î·½³Ì×é”
*
* @author yiding.he
*/ ......

JAVAÃæÊÔ×ÛºÏ

1.J2EEÊÇʲô£¿
  2.½éÉÜJAVAÖеÄCollection FrameWork(°üÀ¨ÈçºÎд×Ô¼ºµÄÊý¾Ý½á¹¹)?
    ÈçCOLLECTIONÖÐÒÅÁôÀà(HASHTABLE¡¢VECTOR)ºÍÏÖÓÐÀàµÄÇø±ð£¿(ͬ²½)
  3.JavaÖÐÒì³£´¦Àí»úÖÆ£¬Ê¼þ»úÖÆ£¿
¡¡
  4.EJBÓëJAVA BEANµÄÇø±ð£¿
     EJBÓëJAVA BEANÊÇSUNµÄ²»Í¬×é¼þ ......

JAVA±à³ÌÌâ

1£®ÏÖÔÚÊäÈën¸öÊý×Ö£¬ÒÔ¶ººÅ£¬·Ö¿ª£»È»ºó¿ÉÑ¡ÔñÉý»òÕß½µÐòÅÅÐò£»°´Ìá½»¼ü¾ÍÔÚÁíÒ»Ò³ÃæÏÔʾ°´Ê²Ã´ÅÅÐò£¬½á¹ûΪ£¬Ìṩreset
import java.util.*;
public class bycomma{
 public static String[] splitStringByComma(String source){
   if(source==null||source.trim().equals(""))
    ......

javaÃæÊÔÌâ2

 18.×öÒ»¸öµ¥×ÓģʽµÄÀֻ࣬¼ÓÔØÒ»´ÎÊôÐÔÎļþ
package com.softeem.demo;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
*@authorleno
*µ¥×Óģʽ£¬±£Ö¤ÔÚÕû¸öÓ¦ÓÃÆÚ¼äÖ»¼ÓÔØÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ