javaangrybird.blogspot.com
雙劍1z0-803 基礎試題 | Java 憤怒鳥
http://javaangrybird.blogspot.com/2013/06/1z0-803.html
試題 1 : My80301.java. 試題 3 : My80303.java. 試題 5 : My80305.java. 試題 7 : My80307.java. 試題 9 : My80309.java. 試題 10 : My80310.java. 試題 14 : My80314.java. 試題 16 : My80316.java. 試題 23 : My80323.java. 試題 24 : My80324.java. 試題 27 : My80327.java. 試題 32 : My80332.java. 試題 33 : My80333.java. 試題 35 : My80335.java. 試題 38 : My80338.java. 試題 40 : My80340.java. 試題 44 : My80344.java. 試題 49 : My80349.java. 試題 52 : My80352.java. 試題 53 : My80353.java. 試題 59 : My80359.java. 試題 61 : My80361.java. 試題 70 : My80370.java.
javaangrybird.blogspot.com
練習題 2_3 : 判斷是否能整除 | Java 憤怒鳥
http://javaangrybird.blogspot.com/2012/03/23_31.html
練習題 2 3 : 判斷是否能整除. 由鍵盤輸入 A、B兩數,判斷 A 是否能被B整除。 Import java.util.Scanner;. Public class EX2 3 {. Public static void main(String[] args) {. Scanner std = new Scanner(System.in);. System.out.println("請輸入任意兩個數字");. System.out.print("數字 A 》》》》》 ");. Double x = std.nextDouble();. System.out.print("數字 B 》》》》》 ");. Double y = std.nextDouble();. Double times = x/y;. System.out.println("A是B的" times " 倍。" );. System.out.println("A不可以被B整除。");. 張貼者: Mr. Cash. No Response to "練習題 2 3 : 判斷是否能整除". 訂閱: 張貼留言 (Atom).
javaangrybird.blogspot.com
六月 2013 | Java 憤怒鳥
http://javaangrybird.blogspot.com/2013_06_01_archive.html
試題 1 : My80301.java. 試題 3 : My80303.java. 試題 5 : My80305.java. 試題 7 : My80307.java. 試題 9 : My80309.java. 試題 10 : My80310.java. 試題 14 : My80314.java. 試題 16 : My80316.java. 試題 23 : My80323.java. 試題 24 : My80324.java. 試題 27 : My80327.java. 試題 32 : My80332.java. 試題 33 : My80333.java. 試題 35 : My80335.java. 試題 38 : My80338.java. 試題 40 : My80340.java. 試題 44 : My80344.java. 試題 49 : My80349.java. 試題 52 : My80352.java. 試題 53 : My80353.java. 試題 59 : My80359.java. 試題 61 : My80361.java. 試題 70 : My80370.java.
javaangrybird.blogspot.com
練習題 2_4:比較兩數大小 | Java 憤怒鳥
http://javaangrybird.blogspot.com/2012/04/24.html
Import java.util.Scanner;. Public class EX2 4 {. Public static void main(String[] args) {. Scanner stdIn = new Scanner(System.in);. System.out.print("請輸入正整數 A 》》》》》 ");. Int a = stdIn.nextInt();. System.out.print("請輸入正整數 B 》》》》》 ");. Int b = stdIn.nextInt();. String resultStr = " ;. If (a 0 b 0) {. ResultStr = "數字不可以為負數。";. If (a b) {. ResultStr = "A B";. Else if (a b) {. ResultStr = "A B";. ResultStr = "A = B";. System.out.println(" n" resultStr);. 張貼者: Mr. Cash. No Response to "練習題 2 4:比較兩數大小".
javaangrybird.blogspot.com
Apache Maven 專案管理平台 - 安裝 | Java 憤怒鳥
http://javaangrybird.blogspot.com/2011/08/apache-maven.html
Apache Maven 專案管理平台 - 安裝. Apache Maven 是一個 Java 的專案管理平台,就好像 C 語言中的 make 與 Java 的 Ant 等專案產生器一樣。 Apache Maven 官方網址 : http:/ maven.apache.org/. 本系列文章的實作, 均使用 TinyCore 這個發行套件, 為使實作順利,. Tce-load -wi tree.tcz # 列出目錄架構. Tce-load -wi curl.tcz # 文字模式 WWW 瀏覽器. 如需更多 TinyCore 操作與設定, 請參考 : http:/ linuxkvm.blogspot.com/. Http:/ maven.apache.org/download.html. 2 解壓縮 apache-maven-3.0.x-bin.zip. 3 設定 M2 HOME 環境變數. Export M2 HOME=/usr/local/apache-maven-3.0.x. Set M2 HOME="c: program files apache-maven-3.0.x. 標籤內容, 內定 儲存位址.
javaangrybird.blogspot.com
jAG304 | Java 憤怒鳥
http://javaangrybird.blogspot.com/2013/07/jag304.html
Import java.io.Serializable;. SuppressWarnings({ "serial", "rawtypes" }). Public class Student implements Serializable {. Private String name;. Private String id;. Private String address;. Public Student(String name,String id, String address){. Public String getName() {. Public void setName(String name) {. Thisname = name;. Public String getId() {. Public void setId(String id) {. Thisid = id;. Public String getAddress() {. Public void setAddress(String address) {. Thisaddress = address;. 4 WAR 專案加入 Servl...
javaangrybird.blogspot.com
練習題 2_6:計算薪水 | Java 憤怒鳥
http://javaangrybird.blogspot.com/2012/04/26.html
計算員工薪水,底薪 : 25000,100000 以上 獎金 5%,300000 以上 獎金 7%,500000 以上 獎金 10%。 Import java.util.Scanner;. Public class EX2 6 {. Public static void main(String[] args) {. Scanner stdIn = new Scanner(System.in);. System.out.print(" n請輸入業績 》》》》》 ");. Double accomplishment = stdIn.nextDouble();. Double salary = 25000;. Double prize = 0;. If (accomplishment = 100000 & accomplishment 300000) {. Prize = accomplishment * 0.05;. Else if (accomplishment = 300000 & accomplishment 500000) {. Prize = accomplishment * 0.07;.
javaangrybird.blogspot.com
第一支 Java 大芒果資料庫程式 | Java 憤怒鳥
http://javaangrybird.blogspot.com/2011/06/java.html
1 下載 Java mongodb Driver. 2 設定 classpath 指到 Java mongodb Driver 的 jar 檔. 3 啟動 mongodb 服務 (Windows 7). Start mongod - rest -dbpath . db. Import com.mongodb.Mongo;. Public static void main(String[] argv) throws Exception{. Mongo m = new Mongo( "localhost" , 27017 );. For (String s : m.getDatabaseNames() {. System.out.println(s);. 1 Java and MongoDB Tutorial. 標籤: java mongodb. No Response to "第一支 Java 大芒果資料庫程式". 訂閱: 張貼留言 (Atom). Java API for XML Processing (JAXP). 1 Apache Maven 專案管理平台 - 安裝. 5 WAR 專案加入 JSP.
javaangrybird.blogspot.com
學習範例 2_7:判斷成績(2) | Java 憤怒鳥
http://javaangrybird.blogspot.com/2012/04/272.html
成績 100 90: A, 80 89:B, 70 79:C, 60 69:D, 60以下,不及格。 Import java.util.Scanner;. Public static void main(String[] args){. Scanner stdIn = new Scanner(System.in);. System.out.print("請輸入成績 : ");. Int studentGrade = stdIn.nextInt();. If(studentGrade 100 studentGrade 0){. System.out.println("輸入錯誤");. Else if(studentGrade = 90 & studentGrade = 100){. System.out.println("A");. Else if(studentGrade = 80 & studentGrade = 89){. System.out.println("B");. Else if(studentGrade = 70 & studentGrade = 79){. 5 WAR 專案加入 JSP.