"The compiler doesn’t know the exact type of the setFirst method but can call it with any object of type Manager, Employee , or Object , but not a subtype such as Executive . However, if you call getFirst , there is no guarantee about the type of the returned object. You can only assign it to an Obje"
"它将Welcom.java编译成Welcom.class,并发送到Java虚拟机。"
"java.math.BigInteger 1.1"
"数组to必须有足够空间存放拷贝的元素。"
"由类构造(construst)"
"特别需要说明,如果一个类使用了这样的方法,当对象不再使用时一定要调用它。"
"Just as importantly, if a class you use has such a method, you need call it when you done with the object."
"类是对象的蓝图"
作者简介
Cay S. Horstmann 是Scala for the Impatient的作者,还与人合著了Core JavaServer Faces。他是圣何塞州立大学计算机科学专业的教授,还是一名Java Champion,并经常在很多开发者大会上演讲。
目录
Chapter 1: An Introduction to Java / Java概述 1
1.1 Java as a Programming Platform / Java程序设计平台 1
1.2 The Java“White Paper”Buzzwords / Java“白皮书”中的口号 2