![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Head First Java
吕系小
正在找Java实习的应届生,联系方式gd_cz_fan@163.com
展开
-
Chapter1.Breaking the Sur face
The Way Java Works Creat a source document. Run your document through a source code compiler. The compiler checks for errors and won’t(will not) let you compile until it’s satisfied that everthing wil原创 2017-11-13 11:29:38 · 164 阅读 · 0 评论 -
Chapter2.A Trip to Objectville.There will be objects.
What’s the difference between a class and an object? A class is not an object.(but it’s used to construct them). A class is a blueprint for an object. The two uses of main: to test your real class to l原创 2017-11-13 11:30:10 · 172 阅读 · 0 评论 -
Chapter3.Know Your Variables
variables types Variables come in two flavors primitive as object state(instance variables) reference as local variables( variables decleard within a method ) primitive types Type Bit Depth V原创 2017-11-13 11:30:46 · 143 阅读 · 0 评论 -
Chapter 4.How Objects Behave
Declearing and initializing instance variablesInstance variables always get a default value.If you don’t explicitly assign a value variable,the instance variable still has a value! Type Value inte原创 2017-11-13 11:31:20 · 197 阅读 · 0 评论 -
Chapter 7.Better Living in Objectville
Question The JVM starts walking up the inheritance tree, starting at the class type you invoked the method on. But what happens if the JVM doesn’t ever find a match? The compiler guarantees that a p原创 2017-11-14 15:42:55 · 205 阅读 · 0 评论