日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > java >内容正文

java

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

發布時間:2023/12/14 java 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [读书笔记]Core Java: Volume I - Fundamentals Chapter 1 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。