public class DBClass { private String driver private String url private String username private String password private Connection connection private Statement statement private String message="" }
資源簡介:public class DBClass { private String driver private String url private String username private String password private Connection connection private Statement statement private String message="" }
上傳時間: 2017-05-23
上傳用戶:c12228
資源簡介:package youxiangtu import java.io.* public class YXTu{ static public void main(String[] args){
上傳時間: 2014-01-10
上傳用戶:zjf3110
資源簡介:package query public class LinkQuery { private Node front private Node vear public LinkQuery() { this.front=null this.vear=null } public void add(int i) { Node newNode=new Node(i) if(vear==null && front==...
上傳時間: 2016-07-08
上傳用戶:天誠24
資源簡介:HashTable實例 public class HashTable_msg { public HashTable_msg() { String sum_sql="select mobilenum,count(*) from SJSJ_Msg where (left(in_date,6)=(select left(CONVERT(varchar(12) , getdate(), 112 ),6)))group by mobilenum" ...
上傳時間: 2014-12-07
上傳用戶:a6697238
資源簡介:public class month1{ public static void main(String [] args){ int month = 10 int days = 0 switch(month){ case 1: days = 31 case 2: days = 28 case 3: days = 31
上傳時間: 2014-08-26
上傳用戶:chenbhdt
資源簡介:public class guestbook{ String sDBDriver = "sun.jdbc.odbc.JdbcOdbcDriver" String sConnStr = "jdbc:odbc:guestbook" Connection conn = null ResultSet rs = null
上傳時間: 2017-05-23
上傳用戶:qiaoyue
資源簡介:第一個Java程序 public class Practice { public static void main(String args[]) { System.out.println("**********************************") System.out.println("** Practice makes perfect") System.out.println("*****************...
上傳時間: 2017-09-05
上傳用戶:xiaoyunyun
資源簡介:public class CircleMenuCanvas extends Canvas implements Runnable{ double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage[] = new Image[6] int []jiaodu = {330,30,90,150,210,270} Stri...
上傳時間: 2014-01-08
上傳用戶:zhaoq123
資源簡介:public class phpmailer phpmailer - PHP email transport cla
上傳時間: 2014-08-11
上傳用戶:busterman
資源簡介:An automata implemented in C++ for searching a String of "abab" in a given String.
上傳時間: 2013-12-26
上傳用戶:小儒尼尼奧
資源簡介:package news import java.sql.ResultSet import java.util.Vector public class News {
上傳時間: 2014-01-01
上傳用戶:sclyutian
資源簡介:編寫JavaBean必須滿足以下幾點: 所有的JavaBean必須放在一個包中 JavaBean必須聲明成public class類型 所有的屬性必須封裝 設置和取得屬性可以通過set,get
上傳時間: 2016-07-04
上傳用戶:AbuGe
資源簡介:Conversions from String to value or value to String. All systems.
上傳時間: 2014-01-04
上傳用戶:qweqweqwe
資源簡介:String reversal. it reverses the given String.
上傳時間: 2014-05-30
上傳用戶:zhaoq123
資源簡介:* 使用DES加密與解密,可對byte[],String類型進行加密與解密 密文可使用String,byte[]存儲. * * 方法: void getKey(String strKey)從strKey的字條生成一個Key * * String getEncString(String strMing)對strMing進行加密,返回String密文 String * ...
上傳時間: 2014-01-13
上傳用戶:libinxny
資源簡介:/*import java.util.Scanner; //主類 public class student122 { ??//主方法 ??public static void main(String[] args){ ????//定義7個元素的字符數組 ????String[] st = new String[7]; ????inputSt(st); ?????...
上傳時間: 2017-03-17
上傳用戶:simple
資源簡介: ? Java函數速查 你能很快的查到你要的函數 DataBinding類 代表數據源字段和組件屬性之間一個單獨的綁定。 package com.ms.wfc.data.ui public class DataBinding implements IConstructable 說明 DataBinder控件使用該類來表示數據源...
上傳時間: 2013-12-20
上傳用戶:TRIFCT
資源簡介:用jsp編寫的網上測試系統。 (1)以“Windows身份驗證模式”連接SQL Server數據庫。 (2)需要安裝SQL Server 的補丁SP3。 (3)運行的時候可以參照書上的說明進行,如出試卷的時候,若試卷標題重復,可以從數據庫中刪除,然后添加試卷。 (4)出...
上傳時間: 2015-06-27
上傳用戶:450976175
資源簡介:This code is a cipher which takes in a plaintext or ciphertext String and encrypts / decrypts according to a user defined key value.
上傳時間: 2014-01-05
上傳用戶:181992417
資源簡介:手機游戲坦克大戰import java.awt.* import javax.swing.* import java.awt.event.* import java.util.EventListener public class HsTank2 extends JFrame { HsTank2(String title) { this.setTitle(title) this.setSize(608 , 630) this....
上傳時間: 2015-10-17
上傳用戶:李彥東
資源簡介:unit Video interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, stdctrls, ExtCtrls, avicap, mmsystem, dsgnintf // Types for event-procedures type TCapStatusProc = procedure(Sender: TObject) of object ...
上傳時間: 2013-12-21
上傳用戶:heart520beat
資源簡介:java的一個源代碼,、 public class ThunderBoltAct extends Canvas implements Runnable { private int TIMEOUT = 0 private final static int NUMERIC = 10000 //總分 private final static int INERRGAL = 60 //頻率 private final static int M...
上傳時間: 2016-04-26
上傳用戶:jichenxi0730
資源簡介:MediaPlayer代碼,部分代碼,合適請用: import java.awt.* import java.awt.event.* import javax.swing.* import javax.media.* import java.io.* import java.util.* //為了導入Vector //import com.sun.java.swing.plaf.windows.* public...
上傳時間: 2016-07-08
上傳用戶:爺的氣質
資源簡介:自己編寫的String類,可以用于代替<String>中的String類。支持==、!=、<、>等比較運算符,=復制運算符,有多種構造函數,動態分配內存,長度可變。容易轉換成char*類型,而且使用深拷貝,指針使用得當。有常用的Index,Insert,Delete,Replace,SubString方法...
上傳時間: 2014-01-05
上傳用戶:古谷仁美
資源簡介:A Genetic Algorithm finding Strings. Enter any Word it will search this String using fitness function as target String.
上傳時間: 2017-05-06
上傳用戶:qlpqlq
資源簡介:購物車系統中的級別類,private Integer id private String cname private Integer parentid private String description private Blob photo private Short ctype private Set products = new HashSet(0) private Set normses = new Ha...
上傳時間: 2017-08-02
上傳用戶:xuanchangri
資源簡介:/** ?* 用于在邏輯和界面間傳輸數據的bean ?* @version 1.0 ?*/ public class DataBean { ? ? private int first = -1; ? ? private int second = -1; ? ? public int getFirst() { ? ? ? ? return first; ? ? } ? ? public int getSecon...
上傳時間: 2015-11-07
上傳用戶:dddhhhwww
資源簡介:題目:古典問題:有一對兔子,從出生后第3個月起每個月都生一對兔子,小兔子長到第三個月后每個月又生一對兔子,假如兔子都不死,問每個月的兔子總數為多少???? //這是一個菲波拉契數列問題 public class lianxi01 { public static void main(String[] ar...
上傳時間: 2017-12-24
上傳用戶:Ariza
資源簡介:本類庫包含了常規的數據庫聯結操作,可以手動注冊數據庫在drivers.xml中。 本類庫包含如下類: ------------------------------------- DriverUtilities loadDrivers():加載驅動程序,本類提供了mysql,oracle,sq...
上傳時間: 2014-01-24
上傳用戶:ardager
資源簡介:java面試筆試題大匯總 ~很全面 java面試筆試題大匯總 第一,談談final, finally, finalize的區別。 最常被問到。 第二,Anonymous Inner Class (匿名內部類) 是否可以extends(繼承)其它類,是否可以implements(實現)interface(接口)? ...
上傳時間: 2017-05-20
上傳用戶:壞壞的華仔