June 2014
Beginner
810 pages
23h 28m
English
CHAPTER 8
![]()
Wrapper Classes
In this chapter, you will learn:
Wrapper Classes
In previous chapters, you learned that primitive and reference types are not assignment compatible. You cannot even compare a primitive value with an object reference. Some parts of the Java library work only with objects; for example, collections in Java work only with objects. You cannot create a list of primitive values, such as 1, 3, 8, and 10. You will need to wrap ...