the art of java 2003

385 773 0
the art of java 2003

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... blank ApDev TIGHT / The Art of Java / Schildt/Holmes / 222971-3 / CHAPTER 1 The Genius of Java By Herb Schildt and James Holmes 1 Color profile: Generic CMYK printer profile Composite Default screen 2 ApDev TIGHT / The Art of Java / Schildt/Holmes / 222971-3 / Chapter 1 The Art of Java H istory in the large view is mirrored on a smaller scale by the history of programming Just as the first societies... profile: Generic CMYK printer profile Composite Default screen AppDev TIGHT / The Art Of Java / Schildt/Holmes / 222971-3 / Chapter 1 AppDev TIGHT / The Art of Chapter 1: The Genius of Java contained a set of core packages, such as java. lang, java. io, and java. net With each new release of Java, classes and packages have been added Today, Java gives the programmer access to a truly amazing array of. .. “to write once, run anywhere.” The second advantage achieved by bytecode is security Because execution of the bytecode is under the control of the JVM, the JVM can prevent a Java program from performing malicious acts that affect the host machine The ability to ensure the security of the host computer was crucial to the success of Java because it enabled the creation of the applet Because an applet is... easy-to-use, built-in part of the language, Java changed the way that we thought about the fundamental architecture of a program Before Java, most P:\010Comp\ApDev\971-3\ch01.vp Monday, July 07, 2003 10:02:28 AM Color profile: Generic CMYK printer profile Composite Default screen AppDev TIGHT / The Art of Java / Schildt/Holmes / 222971-3 / Chapter 1 Chapter 1: The Genius of Java programmers conceptualized... July 08, 2003 9:09:08 AM Color profile: Generic CMYK printer profile Composite Default screen ApDev TIGHT / The Art of Java / Schildt/Holmes / 222971-3 / Front Matter Preface More From Herb Schildt The Art of Java is just one in a series of Herb Schildt programming books Here are some others that you will find of interest To learn more about Java programming, we recommend the following: Java 2: The Complete... Throughout this book we will demonstrate the wide-ranging capabilities of Java by applying it to a varied cross section of applications Some of the applications demonstrate the power of the language, independent of its networking attributes We call these “pure code” examples because they show the expressiveness of the Java syntax and design philosophy Others illustrate the ease with which sophisticated networked... version of a program for all environments The Java applet provided a solution to both problems With the applet, the Web P:\010Comp\ApDev\971-3\ch01.vp Monday, July 07, 2003 10:02:29 AM 7 Color profile: Generic CMYK printer profile Composite Default screen 8 ApDev TIGHT / The Art of Java / Schildt/Holmes / 222971-3 / Chapter 1 The Art of Java programmer was able to easily add dynamic content to the rather... using the Java language and its API classes Collectively, the applications show the power and scope of Java Before we begin our exploration of Java, we will take some time in this first chapter to point out several of the features that make it a remarkable programming language These are features that reflect what we call the “genius of Java. ” Simple Types and Objects: The Right Balance One of the greatest... it can But the problem only gets worse when you add parentheses, exponentiation, variables, unary operators, and the like P:\010Comp\ApDev\971-3\ch02.vp Monday, July 07, 2003 10:02:47 AM 11 Color profile: Generic CMYK printer profile Composite Default screen 12 ApDev TIGHT / The Art of Java / Schildt/Holmes / 222971-3 / Chapter 2 The Art of Java Although there are a number of ways to write the code that... by which these new ideas could be rapidly assimilated Whereas many other computer languages change slowly, Java is constantly evolving and adapting Furthermore, this process is open to the entire Java community through the Java Community Process (JCP) The JCP offers a mechanism by which users of Java help influence the future direction of the language, tools, and associated technologies Thus, the people . fundamental architecture of a program. Before Java, most 4 The Art of Java ApDev TIGHT / The Art of Java / Schildt/Holmes / 222971-3 / Chapter 1ApDev TIGHT / The Art Of Java / Schildt/Holmes /. type dilemma. Here is the problem. From a conceptually ApDev TIGHT / The Art of Java / Schildt/Holmes / 222971-3 / Chapter 1 2 The Art of Java ApDev TIGHT / The Art of Java / Schildt/Holmes /. Some of the applications demonstrate the power of the language, independent of its networking attributes. We call these “pure code” examples because they show the expressiveness of the Java syntax

Ngày đăng: 19/04/2014, 17:17

Từ khóa liên quan

Mục lục

  • The Art of Java

    • The Art of Java

      • Copyright

      • Contents

      • About the Authors

      • Preface

        • What¡¯s Inside

        • Knowledge of Java Is Assumed

        • A Team Effort

        • Don¡¯t Forget: Code on the Web

        • More From Herb Schildt

        • More From James Holmes

        • Chapter 1 The Genius of Java

          • Simple Types and Objects: The Right Balance

          • Memory Management Through Garbage Collection

          • A Wonderfully Simple Multithreading Model

          • Fully Integrated Exceptions

          • Streamlined Support for Polymorphism

          • Portability and Security Through Bytecode

          • The Richness of the Java API

          • The Applet

          • The Continuing Revolution

          • Chapter 2 A Recursive-Descent Expression Parser

            • Expressions

            • Parsing Expressions: The Problem

Tài liệu cùng người dùng

Tài liệu liên quan