"The Analytical Engine has no pretensions whatever to originate anything. [But] it can do whatever we know how to order it to perform." : Ada Lovelace, the world's first computer programmer
: Ada Lovelace, the world's first computer programmer
import java.awt... ----+ | public class Picture { | . | ~~ignore this as much as possible . | --- just copy as needed . | | public void | draw() { | <some main 'method'> ----+ ----+ . | <-- here is where you work . | -==- . | writing your program ---+ --- list of instructions }
prog.java
prog.html
NotePad
javac prog.java
appletviewer prog.html
;
import
javac prog.java 2>&1
more
.java
(0,0) 15 horizontal +----+-----------------------> | | | | 25 + | | | 40 + | | vertical V positive increasing downward
y ↑ | | +---> x