`
leonzhx
  • 浏览: 793465 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Chapter 1. An introduction to Java -- Core Java Ninth Edition

阅读更多

1.    The authors of Java have published a shorter summary that is organized along the following 11 buzzwords:
Simple, Object-Oriented, Network-Savvy, Robust, Secure, Architecture-Neutral, Portable, Interpreted, High-Performance, Multithreaded, Dynamic

 

2.    The syntax for Java is a cleaned-up version of the syntax for C++ and the size of the basic interpreter and class support is small.

 

3.    Java has a pointer model that eliminates the possibility of overwriting memory and corrupting data.

 

4.    Java was designed to make certain kinds of attacks impossible, among them:
    a)    Overrunning the runtime stack—a common attack of worms and viruses
    b)    Corrupting memory outside its own process space
    c)    Reading or writing files without permission

 

5.    The Java compiler generates bytecode instructions which have nothing to do with a particular computer architecture. Rather, they are designed to be both easy to interpret on any machine and easily translated into native machine code on the fly.

 

6.    Virtual machines have the option of translating the most frequently executed bytecode sequences into machine code—a process called just-in-time (JIT) compilation.

 

7.    There are no “implementation-dependent” aspects of the specification. The sizes of the primitive data types are specified, as is the behavior of arithmetic on them.

 

8.    Java delivered a simple toolkit that provided common user interface elements on a number of platforms.

 

9.    The just-in-time compilers have become so good that they are competitive with traditional compilers and, in some cases, even outperform them because they have more information available. For example, a just-in-time compiler can monitor which code is executed frequently and optimize just that code for speed. A more sophisticated optimization is the elimination (or “inlining”) of function calls. The just-in-time compiler knows which classes have been loaded. It can use inlining when, based upon the currently loaded collection of classes, a particular function is never overridden, and it can undo that optimization later if necessary.

 

10.    On the downside, thread implementations on the major platforms differ widely, and Java makes no effort to be platform independent in this regard. Only the code for calling multithreading remains the same across machines; Java offloads the implementation of multithreading to the underlying operating system or a thread library.

分享到:
评论

相关推荐

    C++ How to Program, 10th Edition

    6Functions and an Introduction to Recursion 7 Class Templates array and vector;Catching Exceptions 8 Pointers 9 Classes:A Deeper Look 10 Operator Overloading;Class string 11 Object-Oriented ...

    小学英语单词测试.doc

    1. 蓝色(的)- blue 2. 绿色(的)- green 3. 红色(的)- red 4. 黄色(的)- yellow 5. 橘色(的)- orange 6. 紫色(的)- purple 7. 白色(的)- white 8. 黑色(的)- black 9. 棕色(的)- brown 10. 学校 - ...

    Core Java Volume II Advanced Features Ninth Edition.part1.rar

    我自己制作的,源代码附在书本后面,在书中实例可以直接链接查看源代码。请下载Core Java Volume II Advanced Features Ninth Edition.part2.rar放在同一目录解压。

    Core Java Volume II Advanced Features Ninth Edition.part2.rar

    由于受制于上传文件大小,请先下载Core Java Volume II Advanced Features Ninth Edition.part1.rar再下载该文件。

    小学英语单词(测试).doc

    1. Blue - 蓝色 2. Green - 绿色 3. Red - 红色 4. Yellow - 黄色 5. Orange - 橙色 6. Purple - 紫色 7. White - 白色 8. Black - 黑色 9. Brown - 棕色 10. School - 学校 11. Book - 书 12. Chair - 椅子 13. ...

    [Apress.J2EE系列].Apress.Pro.JSP.2.4th.Edition.Dec.2005

    Pro JSP 2, Fourth Edition Copyright © 2005 by Simon Brown, Sam Dalton, Daniel Jepp, Dave Johnson, Sing Li, and Matt Raible All rights reserved. No part of this work may be reproduced or transmitted ...

    Pro ASP.NET Core 6 Ninth Edition

    Pro ASP.NET Core 6 Develop Cloud-Ready Web Applications Using MVC,Blazor,and Razor Pages -Ninth Edition- Adam Freeman 英文版

    译林版小升初英语公式及固定搭配.pdf

    1. to want to (想要做) - 表达愿望。 2. how to (怎样) - 询问方式。 3. need to (需要) - 表示需求。 4. would like to (愿意) - 表达偏好。 5. be good at (擅长) - 表示在某方面的能力。 6. do well in (在......

    Java How To Program Ninth Edition

    《Java How To Program Ninth Edition》是一本专注于Java编程的详细教程,由知名作者Harvey & Paul Deitel编著,特别适合初学者至进阶者学习。该书共分为30个章节,涵盖了从基础语法、面向对象编程概念到高级主题的...

    Introduction to Probability Models Ninth Edition

    《概率模型基础第九版》是Sheldon Ross撰写的一本经典教材,主要涵盖了概率论与统计学的基础知识。这本书深入浅出地介绍了概率模型的基本概念、理论及其应用,适合初学者和有一定基础的学习者进行深入研究。...

    Core Java(Volume II--Advanced Features 9th Edition)

    Fully updated to reflect Java SE 7 language changes, Core Java®, Volume II—Advanced Features, Ninth Edition, is the definitive guide to Java’s most powerful features for enterprise and desktop ...

    Introduction to Java Programming 9 Brief

    1. Java编程书籍介绍:文档开头提到了一本名为《Introduction to Java Programming, Brief Version, Ninth Edition》的书,这是一本关于Java编程语言的教材。这种书籍通常用于教学目的,帮助读者快速入门Java编程。 ...

    OpenGL Programming Guide Ninth Edition.pdf

    • Chapter 1 , “Introduction to OpenGL ,” provides a glimpse into what OpenGL can do. It also presents a simple OpenGL programand explains the essential programming details you need to know for the ...

    新目标七年级英语上册期末考试题及答案.pdf

    1. 单项选择题: - 题目1涉及到冠词的使用。在元音音素开头的单词前使用"an",在辅音音素开头的单词前使用"a"。所以正确答案是C. an; a。 - 题目2是礼貌询问和道歉的表达。在向别人问问题时,通常用"Excuse me...

    江苏省永丰初级中学九年级英语上册Unit3Teenageproblems复习讲义无答案新版牛津版

    6. 一个九年级的学生 - A ninth-grader 7. 别无选择只能… - Have no choice but to... 8. 不得不熬夜 - Have to stay up late 9. 按时完成家庭作业 - Finish homework on time 10. 值得做 - Be worth doing 11. 给...

    Introduction to Probability Models Ninth Edition Sheldon M. Ross

    ##### 第1章:概率论简介 **1.1 引言** - 在这一节中,作者首先介绍了概率论的基本概念及其在现实生活中的广泛应用,旨在为读者建立概率论的重要性和实用性的初步认识。 - 提出了学习概率论的目的和意义,以及它...

    Core Java, Volume II--Advanced Features (9th Edition).pdf

    在《Core Java, Volume I—Fundamentals, Ninth Edition》中,读者将找到关于Java SE 7基础特性(包括对象、类、继承、接口、反射、事件、异常、图形、Swing、泛型、集合、并发和调试等)的详细覆盖。 本书提供了...

    江苏省南京市第十二初级中学2020学年七年级英语下学期第一次月考试题(Units 1-3)(无答案) 牛津版.doc

    ninth。 - 第3题是日常交际用语,对于邀请的回答,"I'd love to"意为“我很乐意去”,是肯定回答的正确表达,选D。 - 第4题询问冰箱里有多少瓶牛奶,"bottles"是可数名词复数形式,所以用"How many",后面动词用...

    Java How to Program(9th Edition)

    总的来说,《Java How to Program(9th Edition)》是一本全面的Java学习指南,它涵盖了从基础到进阶的所有关键主题,旨在帮助读者成为一名熟练的Java程序员。通过阅读这本书,你不仅能学到扎实的编程技能,还能了解...

Global site tag (gtag.js) - Google Analytics