FlashKeepers

Java · College · College and University

Java I: Syntax and Types

Java primitives, reference types, operators, control flow, strings, arrays, type casting and wrapper classes. Excludes OOP, collections and streams.

About this set

40 basic cards for College Java. Set 1 of 6 in Java. It opens with "What is the smallest integer primitive type in Java?" and "How many bits does a double primitive occupy?". Study it alongside the other College sets below.

40 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is the smallest integer primitive type in Java?
Show answerbyte
How many bits does a double primitive occupy?
Show answer64 bits
Which primitive stores true or false values?
Show answerboolean
What is the range of values for a short primitive?
Show answer-32768 to 32767
Which floating-point primitive has lower precision than double?
Show answerfloat
What is the default value of an uninitialized boolean variable?
Show answerfalse
Which primitive type holds a 16-bit Unicode character?
Show answerchar
What is the maximum value for an int primitive?
Show answer2147483647
Is String a primitive or reference type in Java?
Show answerreference type
Which class is the superclass of all classes in Java?
Show answerObject
What does null represent in Java?
Show answerabsence of a value or no object reference
What is an array in Java?
Show answerordered collection of elements of the same type
What is the result of 17 % 5?
Show answer2
Which operators compare two values and return a boolean?
Show answercomparison operators (==, !=, <, >, <=, >=)
What does the && operator do?
Show answerreturns true only if both conditions are true

25 more cards in the app

Study this set free