Thursday, April 30, 2009
Thursday, April 23, 2009
Accessing non-static member variables from static methods
MyApplication.main ( command_line_args );
This means, however, that there isn't an instance of MyApplication - it doesn't have any member variables to access! Take for example the following application, which will generate a compiler error message.
public class StaticDemo
{
public String my_member_variable = "somedata"; public static void main (String args[])
{
// Access a non-static member from static method
System.out.println ("This generates a compiler error" +
my_member_variable );
}
}
If you want to access its member variables from a non-static method (like main), you must create an instance of the object. Here's a simple example of how to correctly write code to access non-static member variables, by first creating an instance of the object.public class NonStaticDemo
{
public String my_member_variable = "somedata";
public static void main (String args[])
{
NonStaticDemo demo = new NonStaticDemo();
// Access member variable of demo
System.out.println ("This WON'T generate an error" +
demo.my_member_variable );
}
}
Wednesday, April 8, 2009
Friday, March 20, 2009
开幕式上的蓝屏,盖茨最想买走的照片!
偶然走上羽球之路 的18岁清纯小妹 - 羽球新天后 - 王仪涵

偶然走上羽球之路
王仪涵小学三年级时走上羽毛球这条道路。那年的暑假,父母都要上班,不放心王仪涵一个人呆在家里,就给她报了暑期羽毛球训练班。没想到这一练,王仪涵出色的羽毛球天赋和无限潜力被体校的老师发现。在家庭开会决定是否走羽毛球之路时,王仪涵的爸爸妈妈告诉她,既然选择了,就要做到最好,无论多难,也不能走回头路。现在成熟的王仪涵总是说,“ 父母永远是我最大的动力。”
王仪涵在队里的绰号叫“小猫”。刚进入国家队的时候,王仪涵真像一只对什么事都战战兢兢又什么都很好奇,什么都有冲劲的小猫。现在,王仪涵忘不了当年自己在国家队比赛拿到的第一笔奖金2800元,也忘不了在国家二队战胜皮红艳后接受采访时,自己很紧张地问记者要“题目单”时想要先预习一下自己回答什么。
她训练极为认真刻苦,但她的业余时间也丰富多彩。王仪涵喜欢周杰伦的歌,还喜欢看韩剧港剧。在羽毛球队队内的晚会上,王仪涵还曾和卢兰等队员弹过吉他。除了听歌,王仪涵闲暇时间最爱做的事就是看碟和上网了。
18岁时,王仪涵就在益阳世界杯上连胜姚洁、内德切娃、张宁和谢杏芳拿下女单冠军,成为中国队最年轻的世界冠军。然而成功太顺利了也曾让王仪涵迷失方向。第二年同样是在全英赛、瑞士公开赛上,王仪涵由于太紧张,发挥失常,连前八都没能进。“这么久以来你好像没怎么进步呢?”总教练李永波平淡的一句话,击中了王仪涵的内心。从此之后,王仪涵努力加练、加练再加练,慢慢积累自己向冠军前辈们发起冲击的能量。
现在的王仪涵,虽然还没有到达她的职业最高峰,但她早已悄悄揭开“抢班夺权”的大幕。两年之前,在国家体育总局训练局的6层羽毛球馆冠军榜上,王仪涵亲手挂上了自己的照片。当时王仪涵代表新世界冠军们发言时,就用了“抢班夺权”四个字,这四个字让李永波看到了年轻人的斗志,到现在已美梦成真。
Tuesday, January 13, 2009
aNNuaL DInnEr@2009
This is really unexpected win but pleasure to have win it.Follwoing is some nice moments of the each team pitures...
Team 1 (Corpse Rockers):
Team 2 (Just Devils):
Team 3 (The Return of Corpses):
Team 4 (My Team- Triller Eye 6):
Team 5 (The SunGard Family):
Finally, This is my Halloween look, ghost look...
Wednesday, December 31, 2008
Man Utd's next generation of wonderkids
Manchester United have set off on their pre-season United States tour with a number of young stars involved, but some other talents have lef...
-
My Team have won the best dressed Halloween competition for my company Halloween Annual Dinner last friday (2009-01-09). The winner prize is...
-
就让我为大家介绍一些这里的特色: 1. 泗里奎黄梨 泗里奎小镇对面岸的一个小岛,姆基湾多年来出产一种特种黄梨,当地人称她为泗里奎黄梨 (NENAS SARIKEI)。由于小岛土壤有限,泗里奎黄梨只够供应当地的市场,而没有外销,所以很多外地人都没有机会品尝到这种多汁的甜黄梨。目前这...
-
I forget to post this farewell photo for so around one week liao. Last wednesday 30th April 2008 is my f@rewell at Vida Sprint Sdn Bhd. So ...

