Cracking the Java Coding Interview pdfdrive com


Basics of a Typical Java Environment


Download 1.48 Mb.
Pdf ko'rish
bet10/182
Sana02.05.2023
Hajmi1.48 Mb.
#1423275
1   ...   6   7   8   9   10   11   12   13   ...   182
Bog'liq
Cracking the Java Coding Interview ( PDFDrive )

Basics of a Typical Java Environment
Java systems generally consist of several parts: An environment, the language, the Java Applications Programming Interface (API) and various class libraries. The following discussion
explains a typical Java program development environment, Java programs normally go through five phases to be executed (Fig. 1.1). These are: edit, compile, load, verify and execute. We
discuss these concepts in the context of the Java 2 Software Development Kit (J2SDK) that is included on the CD that accompanies this book. Carefully follow the installation instructions for
the J2SDK provided on the CD to ensure that you set up your computer properly to compile and execute Java programs. [Note: If you are not using UNIX/Linux, Windows 95/98/ME or
Windows NT/2000, refer to the manuals for your system’s Java environment or ask your instructor how to accomplish these tasks in your environment (which will probably be similar to the
environment, Phase 1 consists of editing a file. This is accomplished with an editor program (normally known as an editor). The programmer types a Java program, using the editor, and
makes corrections, if necessary. When the programmer specifies that the file in the editor should be saved, the program is stored on a secondary storage device, such as a disk. Java program
file names end with the .java extension. Two editors widely used on UNIX/Linux systems are vi and emacs. On Windows 95/98/ME and Windows NT/2000, simple edit programs like the DOS
Edit command and the Windows Notepad will suffice. Java integrated development environments (IDEs), such as Forte for Java Community Edition, NetBeans, Borland’s JBuilder,
Symantec’s Visual Cafe and IBM’s Visual Age have built in editors that are integrated into the programming environment. We assume the reader knows how to edit a file.
Languages such as Java are objectoriented—programming in such programming (OOP) and allows designers to implement the object a language is called objectoriented

Download 1.48 Mb.

Do'stlaringiz bilan baham:
1   ...   6   7   8   9   10   11   12   13   ...   182




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling