class SuperClass {
public static void staticMethod() {
System.out.println("Superclass's static method");
}
...
(詳全文)
發表時間:2012-04-16 08:00:19 | 回應:0
/**
�* @author Shiang-Yun Yang
�*/
public class Rational {
private int numerator;
private int d...
(詳全文)
發表時間:2012-04-09 07:35:18 | 回應:0
import java.util.Date;import java.util.Locale;import java.text.DateFormat;public class JVD2 { public static vo...
(詳全文)
發表時間:2012-03-26 16:34:09 | 回應:0
抽象類別的實作練習程式碼 :下載
(詳全文)
發表時間:2012-01-31 14:08:01 | 回應:0
用 JAVA 寫一個視窗井字遊戲下載 : 程式碼
(詳全文)
發表時間:2012-01-25 16:06:29 | 回應:2
Write a program that converts dates from numberical month/day/year format to normal "month day, year" format (...
(詳全文)
發表時間:2012-01-22 16:08:27 | 回應:0
Define a class named Document that contains a member variable oftype String named text that stores any textual...
(詳全文)
發表時間:2012-01-22 13:10:30 | 回應:0
Traditional password entry schemes are susceptible to "shoulder surfing"
in which an attacker watches an uns...
(詳全文)
發表時間:2012-01-22 09:22:29 | 回應:0
Define a class for complex numbers. A complex number is a number of the form a + b*i where for our purpose...
(詳全文)
發表時間:2012-01-20 12:28:31 | 回應:0
TheGameOfPig.java/**** @author Shiang-Yun YangThe game of Pig is a sample two player dice game in which the fi...
(詳全文)
發表時間:2012-01-20 08:04:35 | 回應:0
/**** @author Shiang-Yun YangThe Babylonian algorithm to compute the square root of a number n is as follows:1...
(詳全文)
發表時間:2012-01-19 14:10:33 | 回應:0
/**** @author Shiang-Yun YangDefine a class called Fraction for performing arithmetic with fractions.Write a m...
(詳全文)
發表時間:2012-01-19 14:07:33 | 回應:0
import java.util.Scanner;import java.util.Arrays;public class a104 { public static void main(String[] args) { ...
(詳全文)
發表時間:2012-01-18 15:47:51 | 回應:0
import java.util.Scanner;import java.io.IOException;import java.math.BigInteger;public class a021 { public sta...
(詳全文)
發表時間:2012-01-18 15:18:08 | 回應:0
import java.util.Scanner;public class a034 { public static void main(String[] args) { Scanner cin = new Scann...
(詳全文)
發表時間:2012-01-17 21:30:42 | 回應:0