TEACHERS
GALLERY
PRICING
SIGN IN
TRY ZURU
GET STARTED
Loop
Audio
Interval:
5s
10s
15s
20s
60s
Play
1 of 16
Slide Notes
Download
Go Live
New! Free Haiku Deck for PowerPoint Add-In
Click hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Share
Copy
Download
0
65
Published on Dec 02, 2015
No Description
View Outline
MORE DECKS TO EXPLORE
PRESENTATION OUTLINE
1.
Understanding Java
Imran Kidwai & Ben Zusmann
Photo by
htomari
2.
Variables
Int (Integers)
Double (Decimals)
Boolean (True or False)
String (various inputs)
Photo by
tj.blackwell
3.
Variables
must be declared
local scope (in method)
assigned literals
Photo by
Defence Images
4.
Arithmetic Operators
add (+)
subtract (-)
multiply (*)
divide (/)
percent (%)
Photo by
Wonderlane
5.
Arithmetic Operators
* and /
%
+ and -
Photo by
Daneel Reventlov
6.
String Concatenation
Combining multiple variables
Photo by
Alesa Dam
7.
newstring = "beginning Java " + "is fun!"
Output: Beginning Java is fun!
Photo by
djking
8.
Comments
Start with //
Allow for non-programmable notes
Photo by
@pach
9.
Untitled Slide
10.
Functions (Methods)
a routine that computes some value, given information
Photo by
Reznicek111
11.
FUNCTIONvALUE = FUNCTIONnAME(ARGUMENTlIST);
MATH.FUNCTIONTYPE(ARGUMENT)
Photo by
alexcoitus
12.
tYPES OF fUNCTIONS
abs (Absolute Value)
sqrt (square root)*
pow (exponentation)*
Photo by
Tau Zero
13.
sqrt-'double' variables
pow-two arguments
Photo by
Waifer X
14.
Java Scanner Object
allows run-time editing
found in Java API Package
java.util.Scanner
Photo by
quinet
15.
Input Statements
import statement
import java.util.Scanner
constructor
Scanner myScanner = new Scanner(
Program.in
)
Photo by
flickrolf
16.
Print vs Println
println-new line after
print-continues on line
\n-blank line at location
Photo by
Cory Remjeske
Friend of Haiku Deck
×
Error!