








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Learn the basics of programming with java, a widely-used and versatile high-level programming language. Discover why programming is important, choose java as your language, and get started with your first 'hello, world' program. Understand java features, syntax, and built-in types.
Typology: Slides
1 / 14
This page cannot be seen from the preview
Don't miss anything!









!
2
Ada Lovelace Analytic Engine “Please simulate the motion of N heavenly bodies, subject to Newton’s laws of motion and gravity.” well, almost anything [stay tuned]
4
5
$100 billion, 5 million developers
http://java.net/jag
7
Primitive Numeric Types !=
Integer.parseInt() Double.parseDouble() Parsing Math.min() Math.max() Math.sqrt() Math.pow() Math.abs() Math.PI Math.log() Math.sin() Math Library Math.exp() System.out.println() Math.cos() System.out.print() System.out.printf() System for if Flow Control while else !
true Boolean && false , ;
Punctuation )
a[i] new a.length Arrays charAt() matches() length()
String compareTo()
char boolean long int Built-In Types String double final toString() new main() public class Objects private static
Assignment
10
command-line
(or click the Compile button in DrJava)
11
command-line
13
compile
14
command-line argument