Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is the wrapper class for int?
Think of the object version of an int.
What happens during autoboxing?
Consider packing a value into a box.
What is the wrapper class for boolean?
It's the same name but capitalized.
Autoboxing is...
Remember the concept of automatic packing.
Create a class that demonstrates both the use of a custom object and a wrapper class within an ArrayList. Show how you can add both and print their values.
Utilize an ArrayList that can hold objects of different types.
Write a Java method that takes an array of strings that represent numbers and returns an array of integers using wrapper methods.
Think about how to loop through the array and use parse methods.
6 more questions in this section. Enroll free to practise them all.
Enroll free