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. 实验四:使用库函数API和C代码中嵌入汇编代码两种方式使用同一个系统调用
  2. 为什么要学习响应式设计
  3. 学生计算机基础知识,初中计算机基础知识练习题集锦(学生)
  4. 河南派出所犯罪嫌疑计算机网络人,【出彩河南公安人】息县公安局冯振娇:平凡岗位献青春 恒心不改展风采...
  5. Python3 Selenium自动化web测试 == 第三节 常用WebDriver API使用示例上(24个API)
  6. java itextsharp_使用 c#中的 itextsharp 以 pdf 格式填充 xml
  7. shouldParkAfterFailedAcquire
  8. linux安装无法添加挂载,linux-无法在已挂载/ etc / passwd和/ etc / shadow的docker容器中添加新用户...
  9. potplayer播放器的下载与截图配置
  10. 全国计算机汉字录入是什么,什么是汉字录入?
  11. 力扣——罗马数字转整数
  12. 【比赛】CCF BDCI新闻情感分类初赛A榜4/2735,复赛1%题解报告
  13. QL Server 2008新特性:FILESTREAM
  14. 读取ZIP文件时ZipEntry的size为-1的解决办法
  15. pdf转的html 360看不了,360浏览器看不了pdf
  16. C# PDF转图片(JPG,Png)
  17. 机器人三大定律只是人类的一厢情愿 AI可能并不遵守
  18. linux 中 man 命令的介绍
  19. 微信小程序退款功能(详解完整)
  20. 深信服EDR终端检测平台-RCE漏洞复现

热门文章

  1. Apollo学习笔记(12)Lattice Planner规划算法
  2. conda 多环境切换
  3. CND(内容分发网络)前端的使用
  4. 通过CND方式引入elementui,vue,vuex,vue-router
  5. 【论文阅读】Cross-domain Correspondence Learning for Exemplar-based Image Translation
  6. Linux:打包压缩
  7. win7之下魔兽不能全屏
  8. 更简单获取到Bean对象(1)
  9. 美国麦当劳“四川辣酱”将再次回归;“澳大利亚制造”巧克力要崛起;中国食品行业首个“零碳工厂”诞生 | 食品饮料新品...
  10. webrtc丢包率与jitter计算