IT 114: Introduction to Java
Answers to Class 13 Ungraded Quiz
What do you call the operators that compare two values and return either true or false?
relational operators
Are relational operators higher or lower in precedence than the arithmetic operators?
lower
What is the relational operator for "less than or equal to"
<=
What is the name of the class that contains mathematical functions?
Math
Are the numbers that
random()
creates really random?
no they are pseudo random
What do you call the Java operation of turning a value from one data type to another?
casting
Write and expression that turn the value of the variable named
number
into an integer.
(int) number