Sort ArrayList Java
Ngày đăng:
02/12/2021
Trả lời:
0
Lượt xem:
188
Everything in java is an object, except primitives. Primitives are int, short, long, boolean, etc. Since they are not objects, they cannot return as objects, and collection of objects. To support this, java provides wrapper classes to move primitives to objects. Some of the wrapper classes are Integer, Long, Boolean, etc. You can never get enough of what you dont really need. |