Ch02-1 - Java Ch 2 Data Loops Ch1-1 Email list...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Ch1-1.ppt Java Ch. 2 Data & Loops
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Ch1-1.ppt Email list Announcements Turn In & Return
Background image of page 2
Ch1-1.ppt 2.1 Data basics Information used by a program 12, -3.6, Phineas Taylor, false Data type: category of data Ideas?
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Ch1-1.ppt Java data types Primitive Fast, limited Reference Objects Slower More powerful (flexible)
Background image of page 4
Ch1-1.ppt Java Primitive Data Types int Whole number (positive and negative) also byte, short, long 5, -7, 0 How many?
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Ch1-1.ppt Java Primitive Data Types double Real number (positive and negative) also single 1.5, -0.37, 0.0, 7.2 x 10 7 How much?
Background image of page 6
Ch1-1.ppt Java Primitive Data Types char Single character (letter, digit, punctuation, . ..) ‘A’ , ‘g’ , ‘ ‘ (a space) , ‘#’ , ‘.’ (a dot) Note: single quotes, not “smart quotes”
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Ch1-1.ppt Java Primitive Data Types boolean Logical values true, false Note: NO quotes
Background image of page 8
Expression A value
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 20

Ch02-1 - Java Ch 2 Data Loops Ch1-1 Email list...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online