1/11
A set of flashcards covering key vocabulary terms and definitions from the lecture notes on wrapper classes, primitive types, and ArrayLists.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Wrapper Classes
Classes that allow primitive types to be treated as objects.
Autoboxing
The automatic conversion of a primitive type into its corresponding wrapper class.
Unboxing
The conversion of a wrapper class back into its associated primitive type.
Integer
A wrapper class for the primitive type int.
Double
A wrapper class for the primitive type double.
ArrayList
A resizable array implementation of the List interface in Java.
parseInt
A method that converts a string to an integer.
parseDouble
A method that converts a string to a double.
Dynamic Array
An array that can change its size during runtime.
Collections Class
A utility class in Java that contains static methods for operating on collection classes.
Memory usage differences
Primitives are stored directly while wrapper objects are stored as references.
List
An ordered collection of elements that can be accessed via an index.