Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
We can't promise you fame, fortune, or even a job if you learn the Java programming language. Still, it is likely to make your programs better and requires less effort than other languages. We believe that Java technology will help you do the following:The programs in the following two lessons demonstrate only a few of these features. Still, you need to start somewhere, so why not with "Hello World."
- Get started quickly: Although the Java programming language is a powerful object-oriented language, it's easy to learn, especially for programmers already familiar with C or C++.
- Write less code: Comparisons of program metrics (class counts, method counts, and so on) suggest that a program written in the Java programming language can be four times smaller than the same program in C++.
- Write better code: The Java programming language encourages good coding practices, and its garbage collection helps you avoid memory leaks. Its object orientation, its JavaBeans component architecture, and its wide-ranging, easily extendible API let you reuse other people's tested code and introduce fewer bugs.
- Develop programs faster: Your development time may be as much as twice as fast versus writing the same program in C++. Why? You write fewer lines of code and it is a simpler programming language than C++.
- Avoid platform dependencies with 100% Pure Java: You can keep your program portable by following the purity tips mentioned throughout this tutorial and avoiding the use of libraries written in other languages.
- Write once, run anywhere: Because 100% Pure Java programs are compiled into machine-independent bytecodes, they run consistently on any Java platform.
- Distribute software more easily: You can upgrade applets easily from a central server. Applets take advantage of the feature of allowing new classes to be loaded "on the fly," without recompiling the entire program.
From here, you can do the following:
- Go to the next lesson, The "Hello World" Application, that steps you through writing and running an application.
- Go to the lesson after that, The "Hello World" Applet, if you prefer to start with applets.
- Learn more about the language by going to the trail Learning the Java Language.
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |