19.09.2015 Views

Prentice.Hall.Introduction.to.Java.Programming,.Brief.Version.9th.(2014).[sharethefiles.com]

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER<br />

1<br />

INTRODUCTION<br />

TO COMPUTERS,<br />

PROGRAMS,<br />

AND JAVA<br />

Objectives<br />

■<br />

■<br />

■<br />

To understand <strong>com</strong>puter basics, programs, and operating systems<br />

(§§1.2–1.4).<br />

To describe the relationship between <strong>Java</strong> and the World Wide Web<br />

(§1.5).<br />

To understand the meaning of <strong>Java</strong> language specification, API, JDK,<br />

and IDE (§1.6).<br />

■ To write a simple <strong>Java</strong> program (§1.7).<br />

■ To display output on the console (§1.7).<br />

■ To explain the basic syntax of a <strong>Java</strong> program (§1.7).<br />

■ To create, <strong>com</strong>pile, and run <strong>Java</strong> programs (§1.8).<br />

■ To display output using the JOptionPane message dialog boxes (§1.9).<br />

■<br />

■<br />

To be<strong>com</strong>e familiar with <strong>Java</strong> programming style and documentation<br />

(§1.10).<br />

To explain the differences between syntax errors, runtime errors, and<br />

logic errors (§1.11).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!