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
資源簡介: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
資源簡介:第一個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
資源簡介:package youxiangtu import java.io.* public class YXTu{ static public void main(String[] args){
上傳時間: 2014-01-10
上傳用戶:zjf3110
資源簡介:java 100例子 import javax.swing.JOptionPane //調用method class c { //定義名字 public static void main(String[] args) { //開始method JOptionPane.showMessageDialog( null, "錯誤" ) //顯示一條信息 System.exit(0) // 結束程序...
上傳時間: 2015-05-18
上傳用戶:gengxiaochao
資源簡介: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
資源簡介:/*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
資源簡介:題目:古典問題:有一對兔子,從出生后第3個月起每個月都生一對兔子,小兔子長到第三個月后每個月又生一對兔子,假如兔子都不死,問每個月的兔子總數為多少???? //這是一個菲波拉契數列問題 public class lianxi01 { public static void main(String[] ar...
上傳時間: 2017-12-24
上傳用戶:Ariza
資源簡介:String int 字符串常量池 包裝類型 函數參數 值傳遞引用傳遞 的 內存分配例子——源碼 代碼段: public static void fun_ref (Ref_test ref_out){ Ref_test ref_in=new Ref_test() ref_in.s1="in" //ref_out.s1="out" ref_out=ref_in //...
上傳時間: 2013-12-27
上傳用戶:ls530720646
資源簡介:class Time { public: Time(int =0,int =0,int =0) void setTime(int,int,int) void printMilitary() void printStandard() private: int hour int minute int second }
上傳時間: 2013-12-20
上傳用戶:hwl453472107
資源簡介: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
資源簡介:public class guestbook{ String sDBDriver = "sun.jdbc.odbc.JdbcOdbcDriver" String sConnStr = "jdbc:odbc:guestbook" Connection conn = null ResultSet rs = null
上傳時間: 2017-05-23
上傳用戶:qiaoyue
資源簡介:復數運算#include<iostream.h> class Complex { public: Complex( double r =0, double i =0 ) Complex(int a) { Real = a Image = 0 } void print() const friend Complex operator+ ( const Complex & c1, const Complex & c2 ) friend Co...
上傳時間: 2016-06-30
上傳用戶:wang5829
資源簡介: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
資源簡介: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
資源簡介:支撐矢量機 class CvSVM : public CvStatModel //繼承自基類CvStatModel { public: // SVM type enum { C_SVC=100, NU_SVC=101, ONE_CLASS=102, EPS_SVR=103, NU_SVR=104 } //SVC是SVM分類器,SVR是SVM回歸 // SVM kernel type
上傳時間: 2014-08-19
上傳用戶:妄想演繹師
資源簡介: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
資源簡介:c語言中寫二進制數。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c = Bin(10101001) // c = 0xA9 }
上傳時間: 2015-04-13
上傳用戶:a6697238
資源簡介:void Main(void) { sys_init() // Initial 44B0X s interrupt,Port and UART // user interface uart_printf("\n\r Led Test Example\n") for( ) { led_test() } }
上傳時間: 2014-01-18
上傳用戶:牧羊人8920
資源簡介:void Main(void) { sys_init() // Initial 44B0X s interrupt,Port and UART wdtimer_test() // test start }
上傳時間: 2013-12-29
上傳用戶:koulian
資源簡介:* 使用DES加密與解密,可對byte[],String類型進行加密與解密 密文可使用String,byte[]存儲. * * 方法: void getKey(String strKey)從strKey的字條生成一個Key * * String getEncString(String strMing)對strMing進行加密,返回String密文 String * ...
上傳時間: 2014-01-13
上傳用戶:libinxny
資源簡介:#include<stdio.h> void main(void) {int n,k,derivata,a[10],i printf("n=") scanf(" d",&n) for(i=0 i<=n i++) { printf("a[ d]=",i) scanf(" d",&a[i]) } printf("k=") scanf(" d",&k) for(derivata=1 derivata<=k derivata++) { f...
上傳時間: 2017-09-17
上傳用戶:duoshen1989
資源簡介:文件名:main.asm 完成對從鍵盤輸入的0-9的數的存入 完成對從鍵盤輸入回車、"ESC"鍵及“+”,“-”,“*”,“/”鍵的分析及對加、減、乘、除過程的調用。 完成對從鍵盤輸入錯誤數據的分析 程序在編寫過程中使用了宏,模塊。供匯編程序初學者及愛好者參...
上傳時間: 2015-08-30
上傳用戶:skhlm
資源簡介:void DockWidget::dock() { if (!docked) { KWin::setSystemTrayWindowFor(this->winId(), 0) this->setFixedSize(24, 24) this->show() docked = true } }
上傳時間: 2013-12-10
上傳用戶:417313137
資源簡介:1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.) #include<stdio.h> #include<stdlib...
上傳時間: 2017-04-01
上傳用戶:糖兒水嘻嘻
資源簡介:class NumberListener implements ActionListener{ public void actionPerformed(ActionEvent e){ if (!append) { tf.setText("") append=true } String s=tf.getText() s+=e.getActionCommand() tf.setText(s) if (!btn[10].isEnable...
上傳時間: 2013-12-05
上傳用戶:wys0120
資源簡介:#include "iostream" using namespace std; class Matrix { private: double** A; //矩陣A double *b; //向量b public: int size; Matrix(int ); ~Matrix(); friend double* Dooli(Matrix& ); void Input(); ...
上傳時間: 2018-05-20
上傳用戶:Aa123456789
資源簡介:ITU-T Recommendation V.90 98年9月版本 A DIGITAL MODEM AND ANALOGUE MODEM PAIR FOR USE ON THE public SWITCHED TELEPHONE NETWORK (PSTN) AT DATA SIGNALLING RATES OF UP TO 56 000 bit/s DOWNSTREAM AND UP TO 33 600 bit/s UPSTREAM
上傳時間: 2014-01-17
上傳用戶:hn891122
資源簡介: ? Java函數速查 你能很快的查到你要的函數 DataBinding類 代表數據源字段和組件屬性之間一個單獨的綁定。 package com.ms.wfc.data.ui public class DataBinding implements IConstructable 說明 DataBinder控件使用該類來表示數據源...
上傳時間: 2013-12-20
上傳用戶:TRIFCT