1Z0-811 Java Basics and Syntax • Set 3
1Z0-811 Java Basics and Syntax Practice Test 3 — 15 questions with explanations. Free, no signup.
A developer is writing a small utility class and needs to declare a variable that will hold the number of items in a shopping cart. The value will never exceed 2 billion and no fractional values are ever needed. The developer wants the most memory-efficient primitive type that can safely store every possible value in this range. Which primitive type should be used?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.