Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(一)之Introduction
Learn Java
I found out that I and other speakers tended to give the typical audience too many topics too quickly.
我发现我和其他的演讲者往往会在极短的时间内传递太多的主题给听众。
I wanted to try to keep everyone up to speed.
我想尽力让每个人都跟上进度
Thinking in Java seminars “Thinking in Java"研讨课?
The book is designed to serve the solitary reader who is struggling with a new programming language
本书是面向那些孤军奋斗一门新程序设计语言的读者
Goals
I came to know-through the process of presenting the material-that if you include a lot of new features,you need to explain them all, and this easily compounds the students's confusion.
在呈现这些内容的过程中,我逐渐意识到如果囊括过多的特性,你就必须将它们全部解释清楚,而这很容易是学生产生混淆。
Each chapter tries to teach a single feature, or a smaill group of associated features, without relying on concepts that haven't been introduced yet.
每章设法只教授一个特性,或一小组相关的特性,且不依赖于未介绍的概念。
My goal in the book are to:
1. Present the material one simple step at a time.Carefully sequence the presentation of features.
2. Use example that are as simple and short as posible.
I have found that beginners are usually happier when they can understand every detail of an example rather than being impressed by the scope of the problem it solves.
3. Give you what I think is important for you to understand about the language,rather than everything that I know
example:memorize the operator precedence table
4. Keep each section focused enough
5. Provide you with a solid foundation
Teaching from this book
in doing so 在这种情况下
the book is designed to support a two-week seminar or a two-term college course.
Hands-on Java CD ROM:instroduce JDBC,Servlets and JSPs
Intermediate Thinking in Java CD ROM
www.MindView.net
JDK HTML documentation
http://java.sun.com
this book will not repeat that documentation,because it's much faster if you find the class descriptions with you Web browser than if you look them up in a book,and the online documentation is probably more upto-date.
Exercises
I've discovered that simple exercises are exceptionally useful to complete a student's understanding during a seminar.
Most exercises are easy enough.Some are more challenging,but non present major challengs.大部分练习都很简单。有一些练习具有挑战性,但是没有难度很高的练习
Solutions to selected exercises can be found in the electronic document The Thinking in Java Annotated Solution Guide, available for sale from www.MindView.net.
Foundations for Java
Thinking in C (you can download from www.MindView.net)
Source code
distributed as a single package, can download from www.MindView.net
Coding standards
In the text of this book,identifiers(methods,variables, and class names are set in bold. Most keywords are also set in bold, except for those keywords that are used so much that the bolding can become tedious, such as "class".
As much as possible, the coding style follows the style that Sun iteself uses in virtually all of code you will find at its site (see http://java.sun.com/docs/codeconv/index.html), and seems to be supported by most Java development environments.
One solution to the coding style issue is to use a tool like Jalopy(www.triemax.com),which assisted me in developing this book, to change formatting to that which suits you
The book focuses on and is tested with Java SE5/6.
Errors
Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(一)之Introduction的更多相关文章
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(二)之Introduction to Objects
The genesis of the computer revolution was a machine. The genesis of out programming languages thus ...
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(七)之Access Control
Access control ( or implementation hiding) is about "not getting it right the first time." ...
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(六)之Initialization & Cleanup
Two of these safety issues are initialization and cleanup. initialization -> bug cleanup -> ru ...
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(十三)之Strings
Immutable Strings Objects of the String class are immutable. If you examine the JDK documentation fo ...
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(十四)之Type Information
Runtime type information (RTTI) allow you to discover and use type information while a program is ru ...
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(十二)之Error Handling with Exceptions
The ideal time to catch an error is at compile time, before you even try to run the program. However ...
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(十一)之Holding Your Objects
To solve the general programming problem, you need to create any number of objects, anytime, anywher ...
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(十)之Inner Classes
The inner class is a valuable feature because it allows you to group classes that logically belong t ...
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(九)之Interfaces
Interfaces and abstract classes provide more structured way to separate interface from implementatio ...
随机推荐
- Java基础 - 数据类型和运算符
Java 语言支持的类型分为两类:基本数据类型(Primitive Type)和引用类型(Reference Type). 目录 基本数据类型 数值类型 整数类型 byte short int lon ...
- Linux软件安装之JDK的安装
JDK的安装 1.1. 下载JDK,此处版本是1.8u131,实际操作以自己具体版本为准 先查看Linux系统是多少位(32位/64位):getconf LONG_BIT 然后去官网下载JDK [jd ...
- 一个使用fasttext训练的新闻文本分类器/模型
fastext是什么? Facebook AI Research Lab 发布的一个用于快速进行文本分类和单词表示的库.优点是很快,可以进行分钟级训练,这意味着你可以在几分钟时间内就训练好一个分类模型 ...
- 洛谷5026 Lycanthropy 差分套差分
题目链接 https://www.luogu.com.cn/problem/P5026 题意 在一个长度为m的序列中,每次给一个下标x,和一个权值v,然后从x-v*3到x-v*2单调递增,从x-v*2 ...
- OpenCV-Python 轮廓属性 | 二十三
目标 在这里,我们将学习提取一些常用的物体属性,如坚实度,等效直径,掩模图像,平均强度等.更多的功能可以在Matlab regionprops文档中找到. (注:质心.面积.周长等也属于这一类,但我们 ...
- 模型压缩一半,精度几乎无损,TensorFlow推出半精度浮点量化工具包,还有在线Demo...
近日,TensorFlow模型优化工具包又添一员大将,训练后的半精度浮点量化(float16 quantization)工具. 有了它,就能在几乎不损失模型精度的情况下,将模型压缩至一半大小,还能改善 ...
- Python用户终端输入
#用户输入,操作 print("python 用户输入操作") # input(提示字符串),函数阻塞程序,并提醒用户输入字符串 instr = input("pleas ...
- Python——交互式图形编程
一. 1.图形显示 图素法 像素法 图素法---矢量图:以图形对象为基本元素组成的图形,如矩形. 圆形 像素法---标量图:以像素点为基本单位形成图形 2.图形用户界面:Graphical User ...
- MATLAB——时间,日期及显示格式
一.日期和时间 1.生成指定格式日期和时间 标准日期格式 2.获取当前时间的数值 >> datestr(now,) ans = -- :: >> datestr(now,'yy ...
- 面试:给我说说你平时是如何优化MySQL的?
面试:给我说说你平时是如何优化MySQL的? 1.explain 在MySQL优化的时候.我们使用最多的是explain查看 SQL 的执行计划 类型 解释 type 连接类型.一个好的SQL语句至少 ...