Why Java and How it Works?

First Program in Java: Printing a Line of Text Escape Sequences Displaying Text in a Dialog Box Another Java Application: Adding Integers Arithmetic Decision Making: Equality and Relational Operators12

First Program in Java: Printing a Line Text

Output

13

Chapter I - Outline History of Java

Why Java and How it Works?

First Program in Java: Printing a Line of Text Escape Sequences Displaying Text in a Dialog Box Another Java Application: Adding Integers Arithmetic Decision Making: Equality and Relational Operators14

Escape Sequences

15

Chapter I - Outline History of Java

Why Java and How it Works?

First Program in Java: Printing a Line of Text Escape Sequences Displaying Text in a Dialog Box Another Java Application: Adding Integers Arithmetic Decision Making: Equality and Relational Operators16

Displaying a Text in a Dialog Box

Output

17

Chapter I - Outline History of Java

Why Java and How it Works?

First Program in Java: Printing a Line of Text Escape Sequences Displaying Text in a Dialog Box Another Java Application: Adding Integers Arithmetic Decision Making: Equality and Relational Operators18

Another Java Application: Adding Integers

19

Another Java Application: Adding Integers

Output

20

Chapter I - Outline History of Java

Why Java and How it Works?

First Program in Java: Printing a Line of Text Escape Sequences Displaying Text in a Dialog Box Another Java Application: Adding Integers Arithmetic Decision Making: Equality and Relational Operators21

Arithmetic

22

Chapter I - Outline History of Java

Why Java and How it Works?

First Program in Java: Printing a Line of Text Escape Sequences Displaying Text in a Dialog Box Another Java Application: Adding Integers Arithmetic Decision Making: Equality and Relational Operators23