Chapter 2

Ace your homework & exams now with Quizwiz!

data that cannot be changed after a class is compiled

constant

if you attempt to add a float, an int, and a byte, the result will be a:

float

when you perform arithmetic with values of diverse types, Java:

implicitly converts the values to a unifying type

what is not a primitive data type in Java?

sector

according to the rules of operator precedence, when division occurs in the same arithmetic statement as _______, the division operation always takes place first

subtraction

you use a ________ to explicitly override an implicit type

type cast

a decimal such as 137.68 can be held by variable type(s)

-float -double

assignment operator

=

"equal to" relational operator

==

an escape sequence begins with:

a backslash

boolean variables hold:

a true or false value

what element is not required in variable declaration?

an assigned value

data type that can store value in the least amount of memory

byte


Related study sets

Fundamentals- scope of practice, hipaa

View Set

Stroke and Increased ICP Quiz (Cox) 31 questions

View Set

intermediate accounting ifrs, chapter 4, computational

View Set

pop OBJECTIVES EXAM 2 +ATIS + QUESTIONS

View Set

Gov. Lesson 3 Political Behavior-Government by the People

View Set