08.02.2015 Views

CS 112 Introduction to Programming - Yale University

CS 112 Introduction to Programming - Yale University

CS 112 Introduction to Programming - Yale University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Writing Java Programs<br />

q The basic way is <strong>to</strong> use a text edi<strong>to</strong>r<br />

❍ Example edi<strong>to</strong>rs: Notepad, emacs, pico, vim,<br />

kwrite, kate, gedit, etc.<br />

• Note: MS Word is NOT a text edi<strong>to</strong>r<br />

❍ The key is that your .java file cannot include<br />

any markup or stylistic formatting; just text.<br />

❍ You enter your Java code following Java<br />

Language syntax, then you compile it.<br />

6

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

Saved successfully!

Ooh no, something went wrong!