Hello, world!

12/18/01


Click here to start


Table of Contents

Hello, world!

Compiling a program

Compiling

Running your Java program

Keywords vs Identifiers

Literals

Operators and punctuation

Data types and variables

Primitive types vs Classes

Declaring Variables

Initializing Variables

PPT Slide

PPT Slide

User Input

PPT Slide

Calling predefined methods

print() and println()

Inserting newlines in a string

Numeric Types

Numbers vs Strings

Integer arithmetic

PPT Slide

Precedence and associativity

Author: charlie

Email: charlie@cs.ucsc.edu

Home Page: http://www.cse.ucsc.edu/~charlie