Java教程
  • Introduction
  • Getting Started
    • The Java Technology Phenomenon
      • About the Java Technology
      • What Can Java Technology Do?
      • How Will Java Technology Change My Life?
    • The Hello World Application
    • A Closer Look at the Hello World Application
  • Learning the Java Language
    • Object-Oriented Programming Concepts
      • What Is an Object?
      • What Is a Class?
      • What Is Inheritance?
      • What Is an Interface?
      • What Is a package?
    • Language Basics
      • Java Language Keywords
    • Annotations
      • Annotations Basics
      • Declaring an Annotation Type
      • Predefined Annotation Types
      • Repeating Annotations
      • Type Annotations and Pluggable Type Systems
    • Generics
      • Why Use Generics?
      • Generic Types
        • Raw Types
      • Generic Methods
      • Bounded Type Parameters
        • Generic Methods and Bounded Type Parameters
      • Generics, Inheritance, and Subtypes
      • Type Inference
      • Wildcards
        • Upper Bounded Wildcards
        • Unbounded Wildcards
        • Lower Bounded Wildcards
        • Wildcards and Subtyping
        • Wildcard Capture and Helper Methods
        • Guidelines for Wildcard Use
      • Type Erasure
        • Erasure of Generic Types
        • Erasure of Generic Methods
        • Effects of Type Erasure and Bridge Methods
        • Non-Reifiable Types
      • Restrictions on Generics
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started
  2. The Java Technology Phenomenon

How Will Java Technology Change My Life?

如果你学习Java编程语言,我们不能保证你能获得名声,财富甚至是工作。 但是相较于其他语言,它可能让你用较少的工作量写出更好的程序。 我们相信Java技术将帮助到你一下几点:

  • Get started quickly:虽然Java语言是一个强大的面向对象语言,但是它易于学习,特别是那些有C或者C++基础的开发者。

  • Write less code:通过program metrics(类的数量,方的数量等)的比较表明,使用Java编写的程序可以比用C++编写的相同程序小四倍。

  • Develop programs more quickly:Java比C++简单,因此你的开发时间可能少两倍,同时程序也只需要更少的代码行数。

  • Avoid platform dependencies:如果你没有使用到其他语言的依赖包,就可以保证程序的可移植性。

  • Write once, run anywhere:Java编写的程序被编译成机器无关的bytecodes,所以在任何Java平台上都能一致地运行。

  • Distribute software more easily:使用Java Web Start软件,用户只需要点击鼠标即可启动应用程序。启动时的自动版本检查可确保用户始终得知最新版本的软件。如果有可用更新,Java Web Start软件将自动更新其安装。

PreviousWhat Can Java Technology Do?NextThe Hello World Application

Last updated 5 years ago

Was this helpful?