s9226322.blogspot.com
JAVA: 2005-11-20
http://s9226322.blogspot.com/2005_11_20_archive.html
星期一, 11月 21, 2005. Lab 11-21 (1) Class Definition. Public String month;. Public int day;. Public int year;. System.out.println(month " " day ", " year);. Public class exercise {. Public static void main(String[] args) {. DataFirstTry date1,date2;. System.out.println("date1");. System.out.println("date2");. Posted by Renn at 9:17 下午. Homework 10/31 Mean and Variance. Import java.io.BufferedReader;. Import java.io.InputStreamReader;. Import java.io.IOException;. Double N,sum=0,sum2=0;.
s9226322.blogspot.com
JAVA: 2005-10-23
http://s9226322.blogspot.com/2005_10_23_archive.html
星期二, 10月 25, 2005. Import javax.swing.JOptionPane;. Public static void main(String[] args). Double max,min;. String inputString=JOptionPane.showInputDialog("Enter at least two number:");. Int next=Integer.parseInt(inputString);. JOptionPane.showMessageDialog(null,"/ / / / / / /");. String inputString1=JOptionPane.showInputDialog("Enter:");. Double next1=Double.parseDouble(inputString1);. String inputString2=JOptionPane.showInputDialog("Enter:");. Double next2=Double.parseDouble(inputString2);. Double p=D...
s9226322.blogspot.com
JAVA: 2005-12-04
http://s9226322.blogspot.com/2005_12_04_archive.html
星期二, 12月 06, 2005. Lab 12-5-2005 (2) Overloading. Public class DateSixthTry {. Private String month;. Private int day;. Private int year;. Public void setDate(int monthInt, int day, int year) {. If (dateOK(monthInt, day, year) {. Thismonth = monthString(monthInt);. Thisday = day;. Thisyear = year;. System.out.println("Fatal Error");. Public void setDate(String monthString, int day, int year) {. If (dateOK(monthString, day, year) {. Thismonth = monthString;. Thisday = day;. Thisyear = year;. Date1setDate(...
s9226322.blogspot.com
JAVA: 2005-11-27
http://s9226322.blogspot.com/2005_11_27_archive.html
星期四, 12月 01, 2005. Import java.io.BufferedReader;. Import java.io.InputStreamReader;. Import java.io.IOException;. Public class Display {. Private String month;. Private int day;. Private int year;. Public String toString() {. Return (month " " day ", " year);. Public void writeOutput() {. System.out.println(month " " day ", " year);. Public boolean equals(Display otherDate) {. Return (month.equals(otherDate.month) & amp; day = (otherDate.day) &. Year = (otherDate.year) ;. Public int getMonth() {. System...
s9226322.blogspot.com
JAVA: 2005-09-18
http://s9226322.blogspot.com/2005_09_18_archive.html
星期六, 9月 24, 2005. Object為物件,一個你想描述的實體,ex:人,汽車. Objects of the same kind are said to have the same type or,more often,are. Said to be in the same class. Posted by Renn at 11:31 上午. Lab 1-02-2006 modular sorting. Homework 12-19-2005 Lab Equal Arrays. Lab 12-19-2005 Class Parameter. Homework 12-12-2005 Counter II. Lab 12-5-2005 (2) Overloading. Lab 12-5-2005 (1) Using this.
s9226322.blogspot.com
JAVA: 2005-12-18
http://s9226322.blogspot.com/2005_12_18_archive.html
星期二, 12月 20, 2005. Lab 12-19-2005 Class Parameter. Double a=0,b=0;. Public complex(double a,double b){. Public void setComplex(double a,double b) {. Public void add(complex C){. Thisa=this.a C.a;. Thisb=this.b C.b;. Public class complexTest {. Public static void main(String args[]) {. Complex Q1= new complex(2,3);. Complex Q2= new complex(4,5);. System.out.println(Q1.a " " Q1.b "*i");. Posted by Renn at 7:53 下午. 星期一, 12月 19, 2005. Homework 12-12-2005 Counter II. Value = 0;. Value = 0;. Value = 0;.
s9226322.blogspot.com
JAVA: 2005-10-30
http://s9226322.blogspot.com/2005_10_30_archive.html
星期一, 10月 31, 2005. Lab 10-31 (1) product of N positive numbers. Import java.io.*;. Public static void main(String[] args)throws IOException. BufferedReader keyboard =new BufferedReader(new InputStreamReader(System.in) ;. System.out.println("Please enter the number");. System.out.println("Enter a negtive to finish.");. String nextString = keyboard.readLine();. Int next = Integer.parseInt(nextString.trim() ;. NextString = keyboard.readLine();. Next = Integer.parseInt(nextString.trim() ;. 星期日, 10月 30, 2005.
s9226322.blogspot.com
JAVA: 2005-09-11
http://s9226322.blogspot.com/2005_09_11_archive.html
星期二, 9月 13, 2005. Creative Commons 的意思是創意公用 他的用意是讓作. Http:/ mtbook.net/mtbook cc.html. Posted by Renn at 5:20 下午. Learning from Chieftain's blog. Posted by Renn at 5:03 下午. Why do people want to blog? Posted by Renn at 10:34 上午. Posted by Renn at 10:10 上午. 星期一, 9月 12, 2005. Posted by Renn at 9:11 下午. Lab 1-02-2006 modular sorting. Homework 12-19-2005 Lab Equal Arrays. Lab 12-19-2005 Class Parameter. Homework 12-12-2005 Counter II. Lab 12-5-2005 (2) Overloading. Lab 12-5-2005 (1) Using this.
s9226322.blogspot.com
JAVA: 2005-10-16
http://s9226322.blogspot.com/2005_10_16_archive.html
星期六, 10月 22, 2005. Import javax.swing.JOptionPane;. Public static void main(String[] args). String myString=JOptionPane.showInputDialog("Please enter a number: ");. Int n=Integer.parseInt(myString);. System.out.println("The number is " n);. Posted by Renn at 1:03 下午. 星期一, 10月 17, 2005. Public static void main(String[] args). Double tax, fivePercentTax, tenPercentTax;. System.out.println("Enter net income. n". Do not include a dollar sign or any commas.");. 15000) & amp; (netIncome. Homework 12-19-2005 La...
s9226322.blogspot.com
JAVA: 2005-09-25
http://s9226322.blogspot.com/2005_09_25_archive.html
星期二, 9月 27, 2005. Public static void main(String[] args). System.out.println(" );. System.out.println("Someone's name is KK. His weight is 90KG! He want to know how much diet soda it's possible to drink without dying! System.out.println(" );. Double dyingMagicNumber=0.001;. HowMuchToDie = weight * dyingMagicNumber;. Double sweetenerPerSoda = 0.0005;. Double weightLossPerSoda = 0.1;. System.out.println("The resault is that my friend can dirnk " howMuchCanDrink " cups of diet soda in his life!