Core Java
文章平均质量分 82
十旋转45度
这个人很懒,神马也没写
展开
-
[Core Java. Volume I. Fundamentals, 8th Edition]-2,3
String[] greeting = new String[3]; greeting[0] = "Welcome to Core Java"; greeting[1] = "by Cay Horstmann"; greeting[2] = "and Gary Cornell"; for (String g : greeting)原创 2013-06-20 10:56:31 · 772 阅读 · 0 评论 -
[Core Java. Volume I. Fundamentals, 8th Edition]-3
利用StringBuilder加速碎片语句的拼接need to build up strings from shorter strings,Every time you concatenate strings, a newString object is constructed. This is time consuming and it wastes memory.StringBuild原创 2013-06-21 17:12:50 · 704 阅读 · 0 评论 -
[Core Java. Volume I. Fundamentals, 8th Edition]-4
C++类方法的定义位置 C++ NOTE: In C++, you generally define methods outside the class: void Employee::raiseSalary(double byPercent) // C++, not Java原创 2013-06-26 17:33:58 · 614 阅读 · 0 评论 -
[Core Java. Volume I. Fundamentals, 8th Edition]-5
reflectionreflection, the ability to find out more about classes and their properties in a running program.it is of interest mainly to tool builders, not application programmers.关于超类的构造函数调用原创 2013-06-28 17:59:06 · 718 阅读 · 0 评论 -
[Core Java. Volume I. Fundamentals, 8th Edition]-6
模板类型接口NOTE: As of Java SE 5.0, the Comparable interface has been enhanced to be a generic type. public interface Comparable {原创 2013-07-03 16:52:50 · 673 阅读 · 0 评论 -
[Core Java. Volume I. Fundamentals, 8th Edition]-7,8
Swing与AWTFrom now on, we say “Swing” when we mean the “painted” user interface classes, and we say“AWT” when we mean the underlying mechanisms of the windowing toolkit, such as event handling.原创 2013-08-05 16:35:45 · 1107 阅读 · 3 评论 -
[Core Java. Volume I. Fundamentals, 8th Edition]-11
The following desktop functionalities arenot supported on Android: ActionScript 2, ContextMenu, DatagramSocket, Dockicon, EncryptedLocalStore, HTMLoader, LocalConnection, NativeMenu, Native原创 2013-10-11 10:42:50 · 718 阅读 · 0 评论 -
[Head First Java]-读书笔记
P41任何变量只要加上public,final和static,基本上都可以变成全局变量可以取用的常量值P78java中所传递的所有东西都是值,但此值是变量所携带的值。引用对象的变量所携带的是远程控制而不是对象本身,若你对方法传入参数,实际上传入的是远程控制的拷贝。P85局部变量没有默认值。原创 2014-03-10 14:35:25 · 929 阅读 · 0 评论