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后台面试记录
腾讯一面: 总结:考基础和代码(网址A是不是网址B的子域) + SQL(选出重复邮箱)(以下是没回答上来的) 逻辑回归公式(简历上写了协同过滤) 详见:https://blog.csdn.net/ma ...
- 基于Docker搭建Nginx图片服务器
前言 一般开发中,都会把图片上传到一个目录,然后将目录和文件名拼接存储在数据库中,但是,这种方法如果没弄好的话可能有一定的缺陷. 若项目搬迁,即时这台服务器本身还在用,存放在服务器的跟项目相关的图片也 ...
- 李瑞红201771010111《面向对象程序设计(java)》第四周学习总结
实验四:类与对象的定义及使用 第一部分:理论知识学习 1.类与对象概念 (1)类是构造对象的模板或蓝图,由类构造对象的过程称为创建类的实例. (2)对象:即数据,对象有三个特性,行为.状态.标识. ...
- Contest 161
2019-11-03 20:35:18 总体感受:本周的赛题完全是反过来的,第一题最难,第二题次之,最后的hard反而是最简单的. 注意点:心态放平稳,慢慢来.
- 强化学习之一:从TensorFlow开始(Start from TensorFlow)
本文是对Tensorflow官方教程的个人(tomqianmaple@outlook.com)中文翻译,供大家学习参考. 官方教程链接 tf的扬帆起航Getting Started With Tens ...
- HTML5调用笔记本或手机摄像头
网上找了些文章测试了下,到现在为止还是很多浏览器不支持,所以也没有什么实用价值啊. 以下代码在笔记本电脑浏览器chrome25,irefox19上测试通过(FF需要在地址栏输入about:config ...
- 仅用200个样本就能得到当前最佳结果:手写字符识别新模型TextCaps
由于深度学习近期取得的进展,手写字符识别任务对一些主流语言来说已然不是什么难题了.但是对于一些训练样本较少的非主流语言来说,这仍是一个挑战性问题.为此,本文提出新模型TextCaps,它每类仅用200 ...
- 计算机视觉基本原理——RANSAC
公众号[视觉IMAX]第31篇原创文章 一 前言 对于上一篇文章——一分钟详解「本质矩阵」推导过程中,如何稳健地估计本质矩阵或者基本矩阵呢?正是这篇文章重点介绍的内容. 基本矩阵求解方法主要有: 1) ...
- Thread---重排序
重排序 数据依赖性 如果两个操作访问同一个变量,且这两个操作中有一个为写操作,此时这两个操作之间就存在数据依赖性.数据依赖分下列三种类型: 名称 代码示例 说明 写后读 a = 1;b = a; 写一 ...
- Ajax-使用教程
运行环境 ajax一定的是运行在网站服务器里面,因此你需要自己配置nodejs服务器 导学:传统的问题还有代理人ajax 传统的http中是又浏览器来做.它在发生和响应的时候网页是不能进行其他操作的 ...