stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
AP 010 ThinkJava Chapters 1+2 Flashcards | StudBud
Explore
/
AP 010 ThinkJava Chapters 1+2
Why use int instead of float?
Java is best described as...
AP 010 ThinkJava Chapters 1+2
7 terms
·
StudBud Administration
·
6 plays
Review basic Java programming concepts.
Flashcards
7 cards
F
Practice quiz
P
Host live
L
Questions
7
Answers
1
Java is best described as...
Statically typed
Strongly typed
Weakly typed
Strongly AND statically typed
2
Why use int instead of float?
floats may have rounding/precision errors
ints are faster
ints take up less memory
floats can't represent integer values
3
In the variable declaration below, "float" is a...
Object
Type
Access Modifier
Variable
4
The following expression can be simplified as...
1000
21
0.025
181
5
What is printed by the following code?
HELLO WORLD
null
An exception is thrown
Hello World
6
Are types mandatory in Java?
Yes
No
7
Is the declared type of a variable always an exact match to the type of its assigned value?
Yes
No