Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

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

image

Play button

image

Play button

image

Progress

1/33

Click to flip

33 Cards in this Set

  • Front
  • Back
expression
is a combination of literals, operators, variables, and parentheses used to calculate a value.
literal
characters that directly mean a value, like: 3.456
operator
a symbol like plus ("+") or times ("*") that asks for doing arithmetic.
variable
a section of memory containing a value
best rule for an expression is that..
it must look OK as algebra
arithmetic operator
a symbol that asks for doing some arithmetic.
precedence
the order in which the operations are done
unary minus and unary positive are..
negative and positive
operand
a value that is acted upon by an operator.
An integer operation is always done with __ bits or more
32
if one or both operand is 64 bits, then the operation is done with __ bits
64
what are the integer variables?
int and long
what are the decimal variables?
float and double
subexpression
a part of an expression that is by itself a correct expression
one or both of the operands of a specific operator is a...
subexpression
is the "final" reserved?
yes
what dopes "final" tell you?
the value will not change
use capital letters for..
constants
class
a programmer defined data type.
A class is a ___ for building an object
blueprint
object
an instance of a class
an object is created by using the keyword ___ and a constructor
new
methods
procedures that can be executed by an object
mothods define an object's ___
behaviors
System.out. is a ...
object
println is a..
method
what does println do?
send the output to the screen
parameter
each piece of date that we send to a method
in the println method, where would the parameter be?
between the ( )
static double pow(double num, double power)
"num" to the power of "power"
method for power
Math.power
method for sqrt
Math.sqrt
Constant PI
Math.PI