作者fate9243 (大ing)
看板TTU-Transfer
標題[偷可] 唸書中= =
時間Wed Dec 10 17:48:34 2008
唉.......
最近事情好多= =
星期天要轉聯舞會
每天都要看書= =
搞的好煩
P幣也要騙.....
public class ptt
{
public static void main(String args[])
{
System.out.println("Welcome to ttu-transfer");
}
}
為什麼程設不考這種題目就好
如果考這種我一定能及格
偏偏他就是要考
Class ptt
{
private String color;
private int height;
private int width;
private static int cnt=0;
public void ptt(String str,height h,width w)
{
color=str;
height=h;
width=w;
count();
}
public static void ptt()
{
this("Red",2,2);
}
public static void count()
{
cnt++;
}
public static void setZero()
{
cnt=0;
}
public static void setValue(int n)
{
cnt=n;
}
public static void show()
{
System.out.println("cnt="+cnt);
}
}
光Class 就讓我騙夠多了= =
--
推 s22780920:眼前的黑不是黑~ 妳說的白是什麼白~ 12/25 15:48
推 jasonyusun:人說的天空藍~ 12/25 15:49
推 twcandyman: 們 是我記憶中那團白雲~背後的藍天~ 12/25 15:56
推 p15987416:望向你的螢幕 12/25 16:00
推 blueqoo:(  ̄ c ̄)y████████████: 12/25 16:02
推 uiorefd: 我只能看到一片閃光~ 12/25 16:06
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.129.37.243
噓 derekwings :this? 我竟然很認真的看了... 12/10 21:26
→ derekwings :我想起來了! this是呼叫自己...科科 12/10 21:28
→ fate9243 :沒用= = 12/10 21:43
→ fate9243 :我考完了= = 12/10 21:43
→ ayudomoto :看起來沒有我們寫得多= = 12/10 23:08
→ fate9243 :樓上打一篇讓我看!! 我才一年級耶~"~ 對我來說很難.. 12/11 07:15
→ ayudomoto :我目前還跟java不熟XD 我指的是程式的難度 囧~ 12/12 23:32
→ fate9243 :那就努力唸書吧~"~ 12/13 08:18
→ jungle12345 :嗯嗯嗯 努力念書吧!! 12/23 03:00