Title: Core Java — Volume I Fundamentals
Edition: Eleventh Edition
Author: Cay S. Horstmann

文章目录

  • Preface
    • To the Reader
    • A Tour of This Book
    • Convention
  • Chapter 1: An Introduction to Java
    • 1.1 Java as a Programming Platform
    • 1.2 The Java "White Paper" Buzzwords
    • 1.3 The Java Applets and the Internet
    • 1.4 A Short History of Java
    • 1.5 Common Misconceptions about Java

Preface

To the Reader

Java has features such as:

  • built-in security and safety features.
  • built-in support for network programming, database connectivity, and concurrency.

Target audience:

  • Serious programmers who want to put Java to work on real projects.
  • A programmer with solid background in a programming language other than java.

Goal:

  • Let you fully understand Java library.

A Tour of This Book

Chapter 1: An overview of Java capabilities and a short history of Java
Chapter 2: Download and install the JDK
Chapter 3: Basic discussions of the Java language
Chapter 4 …

Convention

website: Book Website


Chapter 1: An Introduction to Java

1.1 Java as a Programming Platform

Java is not perfect, what makes it good is that it has many advantages in several aspects. Key features of Java include:

  • A simple enough syntax
  • High quality execution environment
  • A vast library

1.2 The Java “White Paper” Buzzwords

Simple:
Java is cleaned up version of C++. And it was initially designed to be small: small in size of library, interpreter and etc, so as to support embedded devices.

Object-Oriented:
The object-oriented features of Java are comparable to those of C++. One different aspect is that Java enables multiple inheritance through the concept of interface.

Distributed:
With extensive library coping with HTTP and FTP, Java programmes could access objects across the internet as if they are local files.

Robust:
Java compilers detects many problems during compile time. It also eliminates the problem of memory corruption.

Secure:
Being different from the original design idea, Java browser plug-ins no longer trust remote code.

Architectural Neutral
Virtual machines have the options of translating the most frequently used bytecode into machine code: a process called just-in-time compilation.

Portable:
I think, “portable” here means Java programs can be compiled independently from the underlying operation system. While “architecture neutral” means compiled programs can run independently.

Interpreted:
This is similar to python. In Java 9, with the help of jshel tool, we could now use rapid and exploratory programming in Java.

High Performance
With development, Java JIT compiler is becoming so good that it sometimes outperform traditional compiler. The auther used an example of “inlining” to illustrate this point.

Multi-Threaded:
Java support’s concurrency programming, though the initial motivation is different. Now, concurrency is important due to the slow-down progress of processors.

Dynamic
This is an important feature of Java where it allows code to be added to running program.

1.3 The Java Applets and the Internet

Java Applets are something like JavaScript?
Due to historical reasons, they are not popular nowadays.

1.4 A Short History of Java

这一小段历史还挺有趣。大概就是开发人员为了占领A市场开发了Java,结果发现搞出来的东西特别适合用在B市场。最后B市场也没成,最后莫名其妙在C市场火起来了。创业之路一波三折啊,面对失败还是要勇敢直面。

Today, Java has the edge in server-side programming and in cross-platform client applications.

1.5 Common Misconceptions about Java


[读书笔记]Core Java: Volume I - Fundamentals Chapter 1相关推荐

  1. [读书笔记]Core Java: Volume I - Fundamentals Chapter 8

    Title: Core Java - Volume I Fundamentals Edition: Eleventh Edition Author: Cay S. Horstmann 读书笔记:对原书 ...

  2. 【读书笔记】Java并发编程的艺术

    第一章 并发编程的挑战 上下文切换 上下文切换概述 切出:一个线程被剥夺处理器的使用权而暂定运行 切入:一个线程被选中占用处理器或者继续运行 上下文:在这种切入切出的过程中,操作系统需要保存和恢复相应 ...

  3. 【读书笔记】Java基础学习之目录

    前述 :本人目前正在学习java,开发Android应用,因此重新来把java学习一遍. 本文所有资料来源于互联网,我将根据自己的学习进度,不断的将资料整合,就当作是读书笔记吧! 本文作为目录页,将不 ...

  4. 《淘宝技术这十年》读书笔记 (二).Java时代的脱胎换骨和坚若磐石

    马云说过"一个好的东西往往是是说不清楚的",姑且不论这句话的对与错.但我真的很佩服<淘宝技术这十年>这本书的作者子柳,能够通过淘宝的一些故事,按照时间顺序和IT发展的各 ...

  5. java开头流程_【java读书笔记】——java开篇宏观把控 + HelloWorld

    学完java有一段时间了,一直没有做对应的总结,总认为有一种缺憾.从这篇博客開始,将自己平时的学习笔记进行总结归纳,分享给大家. 这篇博客主要简单的介绍一下java的基础知识,基本的目的是扫盲.原来仅 ...

  6. Core Java Volume I — 3.6. Strings

    3.6. Strings Conceptually, Java strings are sequences of Unicode characters(Java的字符串是一个Unicode序列). F ...

  7. 【java读书笔记】——java开篇宏观把控 + HelloWorld

    学完java有一段时间了,一直没有做对应的总结,总认为有一种缺憾.从这篇博客開始,将自己平时的学习笔记进行总结归纳,分享给大家. 这篇博客主要简单的介绍一下java的基础知识,基本的目的是扫盲.原来仅 ...

  8. 【java读书笔记】——java的异常处理

    程序在实际环境的执行过程中.安全成为须要首先考虑的重要因素之中的一个.这也是用户和程序猿最关心的问题.同一时候,Java语言健壮性也体如今了可以及时有效地处理程序中的错误.准确的说是Java的异常处理 ...

  9. [读书笔记]Effective Java 第四章

    使类和成员的可访问性最小化 规则很简单:尽可能地使每个类或者成员不被外界访问.实例域(非final)决不能是公有的.当需要暴露出不可变的实例时通常会把这个实例做成不可变或者是把这个实例变成私有,同时提 ...

最新文章

  1. spring mvc后端代码实现弹出对话框_Spring(3)——事务管理和MVC
  2. python 中set集合类型(去重、成员运算)
  3. Zookeeper集群搭建(配置详解)
  4. MySQL :JDBC连接MySQL报错Unknown system variable 'query_cache_size'
  5. Kendo UI开发教程(25): 单页面应用(三) View
  6. linux看磁盘空间du df,df与du查看磁盘空间使用不一致的解决方法
  7. CPU内部实现“加,减,乘,除”过程
  8. BZOJ 2724: [Violet 6]蒲公英( 分块 )
  9. Kali安装使用文泉驿字体
  10. 一个月可以学会单片机嘛?单片机编程学多久?
  11. IE 11下载文件中文乱码解决(go/php)
  12. 进程和线程的主仆问题
  13. 我的世界服务器如何做无限箱子,《我的世界》无限存储箱子制作方法 制作流程介绍...
  14. react钩子_使用Web动画API和React钩子创建高性能动画
  15. 阿里云和腾讯云这两家对比哪个比较好一些?
  16. java全栈系列之JavaSE-面向对象(instanceof关键字与类型转换)039
  17. mx150 宏碁swift3_宏碁Swift 3评测:炫美轻薄还有MX150独显
  18. 小程序普通选择器的创建详解(我的成长之路_No.2)
  19. 微信如何群发消息?如何群发突破200上限?
  20. 大熊课堂python资源_大熊课堂 - 主页

热门文章

  1. 下列符号中 表示python中单行注释的是_下列符号中,表示Python中单行注释的是...
  2. codeforces 892A. Greed(水)
  3. OpenStack 2015.1.0 (Kilo)更新日志
  4. 架构模式-VIPER
  5. 巧用SEO技术,速提自然流量
  6. 前端项目运行错误提示及解决proble (1 error, 0 warnings) m1 error and 0 warnings potentially fixable with the `--fi
  7. Codeforces 780G Andryusha and Nervous Barriers
  8. 笔试 - 邪恶数字4与7
  9. 谷歌Chrome超越苹果Safari 市场份额升至第三(每日关注2009.12.16)
  10. antd 表格分页功能