Skip to main content

[Java]今天我們學Java

在Dr.Allen真的熱血起來寫了PowerPoint的Java教學第一章後,

我的Java課程今天真的開始了(可喜可賀~~~)






整堂課上下來總共花了三個多小時,在Allen生動的講解跟精闢的比喻之下,我這個一直站在門外的傢伙,好像有看懂門內的一丁丁點兒東西

為了怕自己會忘記,我也來做個小筆記好了
1.物件導向的概念
2.Java的基本架構

天阿~原來我大概只學了兩個大重點,就花了這麼多時間!!!(看來我的Java之路還很長....==....)

以下是我今天的成果:





sm.java


public class sm {


 public static void main(String args[])
 {
System.out.println("Starting the Java Class~");

abc a= new abc();
a.a();
a.b();
 
dm b= new dm();
b.yes();

 }
}
 class dm{


public void yes()
{
System.out.println("So don't test to hard,please~"); 
 }
 }


abc.java



public class abc {


public void a()
{ System.out.println("Hi,jensty is here!!");
}
 
public void b()
{ System.out.println("I'm a good student.");
}


 
}



 開發程式:Eclipse



Ps.Dr. Allen 你最好了,考卷不要出太難嘛~~

Comments

Popular posts from this blog

[First Kick] I'm proud of you

因為歐喔一直很愛球 所以今年兩歲生日時我送了她一顆手工足球 (熊貓可是她指定的動物) 買球時剛好找到這家有訓練幼兒的球類運動中心 身為父母的我們簡直如獲至寶 心理打著「要是可以讓歐喔定期來這裏放電那就太好了!」的如意算盤 立刻就報名了試讀課程 而今天 歐喔的表現真是讓我好欣慰又好驕傲!

Birthday

John John John John~!!!! New Blog is arrived. This is the blog belongs to us only and first. First time, we share our thinking not just via talking and drinking. First time, we do the same thing not just watch Friends or Two and the Half man. First time, we have our baby; it is not a human being though.