12- Wildcards

5:27 2 Speaker 2 Bab 134 Segmen

Bab

  1. 0:03

    A better way to solve the problem in the last video is by using a wildcard. So we go back to our utils class and replace this type argument with a question mark which is called the wildcard character. This wildcard represents an unknown typ…

  2. 5:06

    It could be a string object, it could be a daytime object. That is the reason why when we use the super keyword, we can get an object from this list and store it in a variable of type object. So to recap, if you want to read from this list,…