hellsing42
hellsing42 · 共 94 篇文章
Java命令行应用
主要介绍java和javac命令的使用, 分带package和不带package, 如果要用到第3方包,则使用-classpath参数 1.不带package Hello.java public class Hello { public static void main(String args){ System.out.println("hello"); } } c:/java/hello/Hello.java 编译 c:/java/hello>javac Hello.java 生成class文件 c:/java/hello/Hello.class 运行 c:/java/hello>java…
2008-06-30 10:40 · j2se基础 · 评论(0)
111
set the stage for: provide the background or foundation for run across: encoutner
2008-06-16 20:30 · 学习笔记 · 评论(0)
111
ship off: send grind down: reduce by force hand in hand: together draw attention: attract attetion
2008-06-12 19:19 · 学习笔记 · 评论(0)
心情...
失恋时,只有2种可能,要么你爱她她不爱你,或者相反。那么,当你爱的人不再爱你,或者从来没爱过你时,你没有遗憾,因为你失去的只是一个不爱你的人而已。 任何事没有永远,也别问怎样才能永远。生活有很多无奈,请尽量充实自己,充实生活。请善待生活……
2008-06-11 10:39 · 心情 · 评论(0)
111
tell sth from sth: 辨别2者区别 take for granted: become used to bump into: 撞上 break down: 分解,分类 take on: 承担
2008-06-02 20:28 · 学习笔记 · 评论(0)
在使用ArrayList时注意里面对象是否都是新的内存
遇到个这样的错误 byte[] bKey=new byte[1]; ArrayList byteList=new ArrayList(); for(int i=0;i<10;i++){ MessagePacket packet=new MessagePacket(); packet.setKey(bKey); byteList.add(packet); } for(int j=0;j<byteList.size();j++){ System.out.println(((MessagePacket)byteList.get(i)).getKey()[0]) } 由上代码输出会发现对象Messa…
2008-06-02 16:46 · j2se基础 · 评论(0)
111
in and of itself: because of its own characteristics take sth in account: consider sth superfluous :多余的
2008-05-28 20:08 · 学习笔记 · 评论(0)