Created
May 19, 2017 06:45
-
-
Save fermopili/0d4b6c211a360b63fb8129df2ea0b441 to your computer and use it in GitHub Desktop.
com.javarush.task.task35.task3508
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task35.task3508; | |
import java.util.List; | |
/* | |
extends vs super | |
*/ | |
public abstract class Solution { | |
public abstract <T> void one(List<T> destination, List<T> source); | |
public abstract <T> void two(List<T> destination, List<? extends T> source); | |
public abstract <T> void three(List<? super T> destination, List<T> source); | |
public abstract <T> void four(List<? super T> destination, List<? extends T> source); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment