Java Programming: Lesson 26 - Integer, Double, Boolean, and Character

Опубликовано: 06 Октябрь 2024
на канале: youmils03
57
1

PLEASE SUBSCRIBE!!!

In the previous video (   • Java Programming: Lesson 25 - 1D and ...  ), we took a look at arrays of objects. Both 1-dimensional and 2-dimensional. Here, we look at wrapper classes, which wrap primitive data types into objects so that their class functionality can be used.

We have already learned about ints, doubles, booleans, and chars. But we have not learned much about Integers, Doubles, Booleans, and Characters. These are wrapper classes that are object-oriented representations of primitive data types. We need to learn about important constants and methods in these classes, and we also need to learn about them because they are required for the next unit (ArrayLists).

0:20 NEW: Intro to Wrapper Classes
1:36 NEW: the Integer Class
10:57 NEW: the Double Class
13:26 NEW: the Boolean Class
16:15 NEW: the Character Class

Ready to talk about ArrayLists? It is a new data structures where you can actually add and remove elements, unlike with traditional arrays. Try it out:    • Java Programming: Lesson 27 - Intro t...  

Thanks for watching, and PLEASE SUBSCRIBE!!!