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

JAVA Á¬½Ó SQLServer 2000.

JAVA Á¬½Ó SQLServer 2000 ËùÐèÒªµÄÈý¸öJAR°ü¡£
http://download.csdn.net/source/2283940
----------------
Code:
------------------------
  Connection conn = null;
  Statement sta = null;
  try {
   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
   if (conn == null || conn.isClosed()) {
    conn = DriverManager.getConnection(
      "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=pubs","sa", "");
   }
   sta = conn.createStatement();
   ResultSet rs = sta.executeQuery("select * from jobs ");
   while (rs.next()) {
    System.out.print(rs.getInt(1) + "\t");
    System.out.print(rs.getString(2) + "\t");
    System.out.print(rs.getString(3) + "\t");
    System.out.println(rs.getString(4));
    System.out.println("--------------------------");
   }
  } catch (Exception e) {
   System.out.println(e);
  }


Ïà¹ØÎĵµ£º

JavaÉè¼ÆÄ£Ê½Ö®:IteratorÁ´±íģʽ

ÏÈÀ´Á˽âÒ»ÏÂÁ´±íģʽµÄÔ­Àí£º
Ê×ÏÈдһ¸öJavaBean£¬ÄÚÈÝÊÇÒªÌí¼ÓµÄÔªËØºÍ¸ÃÔªËØµÄ½Úµã¡£
public class NodeBean implements Serializable
{
   
    private Object data; //ÔªËØ±¾Éí
    private NodeBean next; //ÏÂÒ»¸ö½Úµã
   
  &n ......

javaѧϰ¼

ѧϰÁ˼¸ÖÜ£¬ÍæµÃºÜ¿ªÐÄ¡£
ѧϰjavaµÄµÚÒ»¼þʾÍÊÇ×öÒ»¸ö³ÌÐòÉú³ÉHuffman±àÂë¡£
ÔÚÕâÀïÎÒѧ»áÁËLinkedListµÄʹÓã¬Ëü¿ÉÒÔ±£´æÈκÎÀàÐ͵ĶÔÏó¡£
ÈçÏÂÊÇÎҵıàÂë½á¹¹Ìå
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package HuffmanTree;
......

JAVA±à³Ì˼Ï루ÖÐÎİ棩


“Éϵ۸³ÓèÈËÀà˵»°µÄÄÜÁ¦£¬¶øÑÔÓïÓÖ´´ÔìÁË˼Ï룬˼ÏëÊÇÈËÀà¶ÔÓîÖæµÄÁ¿¶È¡£”
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡——Õª×Ô¡¶Prometheus Unbound¡·£¬Shelley
? ÈËÀà……¼«ÆäÊÜÄÇЩÒѾ­³ÉΪÉç»á±í´ï¹¤¾ßµÄÌØ¶¨ÓïÑÔµÄÖ§Åä¡£ÏëÏñһϣ¬Èç¹ûÒ»¸öÈË¿ÉÒÔ²»Ê¹ÓÃÓïÑÔ¾ÍÄܹ»´Ó±¾ÖÊÉÏÊÊÓ¦ÏÖÊµÊ ......

JavaÖз½·¨ÔÚÄÚ´æÖеıíʾ


½«Ä³ class ²úÉú³öÒ»¸ö instance Ö®ºó£¬´Ë class ËùÓÐµÄ instance field ¶¼»áÐÂÔöÒ»·Ý£¬ÄÇôËùÓÐµÄ instance method ÊÇ·ñÒ²»áÐÂÔöÒ»·Ý£¿´ð°¸ÊDz»»á£¬ÎÒÃÇÓÃfield±íʾ×ֶΣ¬ÓÃmethod±íʾ·½·¨£¬ÄÇô¼ÓÉÏstaticÇø·Öºó¾Í ÓÐËÄÖÖ£º
class field£ºÓÐÓÃstaticÐÞÊεÄfield
class method£ºÓÐÓÃstaticÐÞÊεÄmethod
instance fi ......

javaÉè¼ÆÄ£Ê½Ò»¿ú1

  Design Patterns in Java
-----------------------------------------
Steven John Metsker 
William C.Wake
-----------------------------------------
¹¨²¨µÈÒë
£­£­£­£­£­£­£­£­Ò»¡¢¶þÕ¶ÁÊé¼Ç¼£­£­£­£­£­£­
ģʽÊǼ¯ÌåÖǻ۵Ľᾧ¡£Ëü¸ø³öÁËÏà¹ØÐÐÒµÖо­Ñé·á¸»µÄ´ÓÒµÕßËùÓ¦ÓõÄËùÓеĸÅÄîºÍ·½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ