Study your flashcards anywhere!
Download the official Cram app for free >
 Shuffle
Toggle OnToggle Off
 Alphabetize
Toggle OnToggle Off
 Front First
Toggle OnToggle Off
 Both Sides
Toggle OnToggle Off
 Read
Toggle OnToggle Off
How to study your flashcards.
Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key
Up/Down arrow keys: Flip the card between the front and back.down keyup key
H key: Show hint (3rd side).h key
A key: Read text to speech.a key
17 Cards in this Set
 Front
 Back
x= 4, y= 5, z = 6
What does this do?:("number equals:" + x + y + z); 
number equals: 456


x= 4, y= 5, z = 6
What does this do?:("number equals:" + (x + y + z)); 
number equals: 15


\n

new line


\\

slash appears on screen


\"

quotation marks appear on screen


How is a costant set up for x = 5.9?

final double x = 5.9


if int x = 15, int y = 4, and double z = 3, what is..
intResult = 15/4 
3


if int x = 15, int y = 4, and double z = 3, what is..
dobResult = 15/4 
3.0


if int x = 15, int y = 4, and double z = 3, what is..
intResult= (double) 15/4 
error


if int x = 15, int y = 4, and double z = 3, what is..
dobResult (double) 15/4 
3.75


if int x = 15, int y = 4, and double z = 3, what is..
intResult = z 
error


if int x = 15, int y = 4, and double z = 3, what is..
intResult = (int) z 
3


what is 1.3 in 0.### formating?

1.3


what is 1.3 in 0.000 formating?

1.300


what count does java start on?

zero


how do you find a square root of an entered number?

math.sqrt(num5)


how do you find a square root of an entered number?

math.pow(num5)
