Thursday, April 30, 2009

心情日记 II

今天星期四
总觉得时间过得好快
转眼间已到了四月的最后一天了
五月的天即将来临

时间过得快 真是快
弹指一挥一周又一周的时间就这样过了
真希望人生有许多奇迹发生

Thursday, April 23, 2009

Accessing non-static member variables from static methods

Many programmers, particularly when first introduced to Java, have problems with accessing member variables from their main method. The method signature for main is marked static - meaning that we don't need to create an instance of the class to invoke the main method. For example, a Java Virtual Machine (JVM) could call the class MyApplication like this :-
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

开幕式上的蓝屏,盖茨最想买走的照片!

?我们已经知道,鸟巢的灯光和投影显示系统使用了上百台Windows XP Embedded系统的服务器产品,而在开幕式主火炬点火的关键时刻,其中一台投影服务器正巧出现了蓝屏。如果之前的照片还不足以显出此次蓝屏的尴尬程度的话,下面这张照片应该可以给你一个更清楚的认识。没有错,正当李宁在空中跑道大步迈进的时候,蓝屏就在他的身旁。不知道微软看到这样的照片心里会是怎样的想法。

偶然走上羽球之路 的18岁清纯小妹 - 羽球新天后 - 王仪涵



偶然走上羽球之路


王仪涵小学三年级时走上羽毛球这条道路。那年的暑假,父母都要上班,不放心王仪涵一个人呆在家里,就给她报了暑期羽毛球训练班。没想到这一练,王仪涵出色的羽毛球天赋和无限潜力被体校的老师发现。在家庭开会决定是否走羽毛球之路时,王仪涵的爸爸妈妈告诉她,既然选择了,就要做到最好,无论多难,也不能走回头路。现在成熟的王仪涵总是说,“ 父母永远是我最大的动力。”


王仪涵在队里的绰号叫“小猫”。刚进入国家队的时候,王仪涵真像一只对什么事都战战兢兢又什么都很好奇,什么都有冲劲的小猫。现在,王仪涵忘不了当年自己在国家队比赛拿到的第一笔奖金2800元,也忘不了在国家二队战胜皮红艳后接受采访时,自己很紧张地问记者要“题目单”时想要先预习一下自己回答什么。


她训练极为认真刻苦,但她的业余时间也丰富多彩。王仪涵喜欢周杰伦的歌,还喜欢看韩剧港剧。在羽毛球队队内的晚会上,王仪涵还曾和卢兰等队员弹过吉他。除了听歌,王仪涵闲暇时间最爱做的事就是看碟和上网了。


18岁时,王仪涵就在益阳世界杯上连胜姚洁、内德切娃、张宁和谢杏芳拿下女单冠军,成为中国队最年轻的世界冠军。然而成功太顺利了也曾让王仪涵迷失方向。第二年同样是在全英赛、瑞士公开赛上,王仪涵由于太紧张,发挥失常,连前八都没能进。“这么久以来你好像没怎么进步呢?”总教练李永波平淡的一句话,击中了王仪涵的内心。从此之后,王仪涵努力加练、加练再加练,慢慢积累自己向冠军前辈们发起冲击的能量。


现在的王仪涵,虽然还没有到达她的职业最高峰,但她早已悄悄揭开“抢班夺权”的大幕。两年之前,在国家体育总局训练局的6层羽毛球馆冠军榜上,王仪涵亲手挂上了自己的照片。当时王仪涵代表新世界冠军们发言时,就用了“抢班夺权”四个字,这四个字让李永波看到了年轻人的斗志,到现在已美梦成真。

Tuesday, January 13, 2009

aNNuaL DInnEr@2009

My Team have won the best dressed Halloween competition for my company Halloween Annual Dinner last friday (2009-01-09). The winner prize is RM300. My Team name is Triller Eye 6(Team 4 in picture). We have dance according to Michael Jackson Triller songs but just a little part only as time provided is short.

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

2008就快谢幕了




敲响的是钟声
走过的是岁月
留下的是故事
带来的是希望
盼望的是美好

08年的最后一封post

08年对大家来说
肯定留下许多悲喜交集回忆
2008谢幕了 2009来临了
盼望2009年大家会更好

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...