Head first java中提到的学习方法,很受用

Slow down. The more you understand, the less you have to memorize.

Don‘tjust ‘read. Stop and think. When the book asks you a question, don‘tjust skip to the answer. Imagine that someone really is asking the question. The more deeply you force your brain to think, the better chance you have of learning and remembering.

Do the exercises. Write your own notes.

We put them in, but if we did them for you, that would be like having someone else
do your workouts for you. And don‘t just
lookat the exercises. Use a pencil. There‘s
plenty of evidence that physical activity
while learning can increase the learning.

Read the "There are No Dumb Questions"

That means all of them. They‘re not
optional side-bars-they‘re part of the core
contentl Sometimes the questions are more
useful than the answers.

Don‘t do all your reading In one place.

Stand-up, stretch, move around . change
chairs, change rooms. It‘ll help your brain

feelsomething, and keeps your learning from
being too connected to a particular place.

Make this the last thing you read before
bed. Or at least the last challengIng thing.

Part of the learning (especially the transfer
to long-term memory) happens afleryou put
the book down. Your brain needs time on
its own, to do more processing. Ifyou put in
something new during that processing-time,
some of what you just learned will be lost.

•Drink water. Lots of It.

Your brain works best in a nice bath of fluid.
Dehydration (which can happen before you
ever feel thirsty) decreases cognitive function.

•Talk about It. Out loud.

Speaking activates a different part of
the brain. If you‘re trying to understand
something, or increase your chance of
remembering it later, sayit out loud. Better
still, try to explain it out loud to someone
else . You‘ll learn more quickly , and you might
uncover ideas you hadn‘t known were there
when you were reading about it.

Listen to your brain.

Pay attention to whether your brain is getting
overloaded. If you find yourself starting to skim
the surface or forget what you just read, it‘s
time for a break. Once you go past a certain
point, you won‘t learn faster by trying to shove
more in, and you might even hurt the process.

Feel somethlngl

Your brain needs to know that this mauers. Get
involved with the stories. Make up your 0\\>11
captions for the photos. Groaning over a bad

joke is still better than feeling nothing at all.
. . Type and run the code.

Type and run the code examples. Then you
can experiment with changing and improving
the code (or breaking it, which is sometimes
the best way to figure alit what‘s really
happening). For long examples or Ready-bake
code, you can download the source files from
headfirstjava.corn

时间: 2024-10-09 23:44:51

Head first java中提到的学习方法,很受用的相关文章

介绍《First Head Java》一书中提到的学习方法

这两天因为工作需要,要了解Java方面的知识.很久以前学过一点Java的知识,但一直没有使用,所以真的是把Java扔到爪哇国了.找了一本名为<First Head Java>的书来翻,书中"Intro"部分关于学习方法的内容吸引了我,感觉挺有意思的,所以摘录于此,大家共享之. 为了保证内容的原汁原味,就不翻译成汉语了,直接贴上英语原文.这里向该书作者Kathy Sierra与Bert Bates(注意,不是那位过逝的电影明星)致谢! 1. Slow down. The mo

java中BigDecimal的学习

干着java的活,但是看的都是一些偏底层的东西(或者我根本就没有看),有点荒废了java的学习. 最近一直在用到一个类是BigDecimal,但都是模棱两可地在那儿用,并没有深入研究这个类的细节,感觉不能再拖了. BigDecimal,从名字来看就是进行大数运算的,不光这样,还广泛用于小数的精确运算. 当你接触到和钱有关的计算的时候,这个类还是很有用滴. 先来看一个例子 1 package com.tuhooo.bigdecimal; 2 3 /** 4 * Created by tuhooo

Java中I/O流之数据流

Java 中的数据流: 对于某问题:将一个 long 类型的数据写到文件中,有办法吗?    转字符串 → 通过 getbytes() 写进去,费劲,而且在此过程中 long 类型的数需要不断地转换. 现在,Java 中的数据流能够很好的解决这个问题(不需要转换,直接写进去) 1. DataInputStream 与 DataOutputStream 分别继承自 InputStream.OutputStream, 它属于处理流,需要分别套接在 InputStream.OutputStream 类

java中的集合链表

java中的集合类有很多种,每个都有自己的一些特点,推荐你专门在这方面研究一下,比方Vector,ArrayList,,LinkedList,Hashtable等,其中你问到的链表,是不是指LinkedList呢?LinkedList是集合类的一种,和其它集合类一样都用于存放未知内容和未知长度的数据或者说对象.由于LinkedList的内部实现是采用链表结构,所以它就取名为LinkedList当然ArrayList的内部实现是采用数组结构,所以它就取名为ArrayList,呵呵,很好理解吧. 它

Java中 接口是如何实现多态的特性的

Java中多态是个很难理解的概念,但同时又是非常重要的概念,Java三大特性(封装.继承.多态)之一,我们从字面上理解,就是一种类型的多种状态,一下通过卖小汽车的例子再次说明什么是多态,其中利用到了接口. 代码实例: //汽车接口 interface Car{ //要求 接口中有:汽车名称和售价 String getName(); int getPrice(); } //宝马类 class BMW implements Car{ @Override public String getName()

为什么函数式编程在Java中很危险?

摘要:函数式编程这个不温不火的语言由来已久.有人说,这一年它会很火,尽管它很难,这也正是你需要学习的理由.那么,为什么函数式编程在Java中很危险呢?也许这个疑问普遍存在于很多程序员的脑中,作者Elliotte对此发表了一些见解,我们一起来看看他是怎么说的. 在我的日常工作中,我身边的开发者大多是毕业于CS编程顶级院校比如MIT.CMU以及Chicago,他们初次涉及的语言是Haskell.Scheme及Lisp.他们认为函数式编程是一种自然的.直观的.美丽的且高效的编程样式.但奇怪的是,我和我

Java 中必的常用类(很实用)

Java中必须了解的常用类 一.包装类 相信各位小伙伴们对基本数据类型都非常熟悉,例如 int.float.double.boolean.char 等.基本数据类型是不具备对象的特性的,比如基本类型不能调用方法.功能简单...,为了让基本数据类型也具备对象的特性, Java 为每个基本数据类型都提供了一个包装类,这样我们就可以像操作对象那样来操作基本数据类型. 基本类型和包装类之间的对应关系: 注意:有两个包装类的名称比较特殊一个是Integer,另一个是Character,其他都是基本数据类首

java中不同类如何相互访问变量值(新手见解,可能很low)

最近在学基础java知识,这个是很常见的问题之一了,下面我要列出三种异类取值方法,当然不止这些,我选择了最简单的三种: 1.可以使用static静态变量,直接调用要访问类的属性和方法.因为 Java 中 static的特性: static 变量在类装载的时候进行初始化. 多个实例的 static变量会共享同一块内存区域. 1 public class A1 { 2 public static String str = "Hello World !"; 3 } 4 5 public cl

Java中的逆变与协变 很直接不饶弯的讲出来了

http://blog.csdn.net/z69183787/article/details/51598345 看下面一段代码: Number num = new Integer(1); List<Number> list = new ArrayList<>(); list.add(new Integer(3)); ArrayList<Number> list = new ArrayList<Integer>(); //type mismatch List&