filmov
tv
Java Programming: Lesson 25 - 1D and 2D Arrays of Objects

Показать описание
PLEASE SUBSCRIBE!!!
There have now been 3 videos on OOP:
This video continues our discussion of arrays from lessons 15 and 17, but it applies specifically to our focus of object-oriented programming. Here, we create an array not of ints or doubles, but Person objects. Simply write ClassName [ ] myArray = { a , b , ... } where a, b , ... are already defined instances of ClassName. The same applies two a two-dimensional array
ClassName [ ][ ] myOtherArray = { x , y , ... } Here, x, y , ... represent one-dimensional ARRAYS of instances of the ClassName class.
0:09 Review of OOP Concepts
6:30 Review of Arrays
8:08 NEW: 1D Arrays of Objects
12:03 NEW: 2D Arrays of Objects
Thanks for watching, and please subscribe!!!
There have now been 3 videos on OOP:
This video continues our discussion of arrays from lessons 15 and 17, but it applies specifically to our focus of object-oriented programming. Here, we create an array not of ints or doubles, but Person objects. Simply write ClassName [ ] myArray = { a , b , ... } where a, b , ... are already defined instances of ClassName. The same applies two a two-dimensional array
ClassName [ ][ ] myOtherArray = { x , y , ... } Here, x, y , ... represent one-dimensional ARRAYS of instances of the ClassName class.
0:09 Review of OOP Concepts
6:30 Review of Arrays
8:08 NEW: 1D Arrays of Objects
12:03 NEW: 2D Arrays of Objects
Thanks for watching, and please subscribe!!!