O'Reilly logo

Java™ How To Program (Early Objects), Tenth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Phase 1: Creating a Program

Phase 1 consists of editing a file with an editor program, normally known simply as an editor (Fig. 1.6). Using the editor, you type a Java program (typically referred to as source code), make any necessary corrections and save it on a secondary storage device, such as your hard drive. Java source code files are given a name ending with the .java extension, indicating that the file contains Java source code.

Image

Fig. 1.6 | Typical Java development environment—editing phase.

Two editors widely used on Linux systems are vi and emacs. Windows provides Notepad. OS X provides TextEdit. Many freeware and shareware editors are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required