Bound Mismatch Error: The Type is not a valid substitute
Task: I want to store "Song class object" in ImmutableSet through PlayList class.
I have three classes.

public class ImmutableBinaryTree< T extends Comparable> implements ImmutableSet { }public class Song { }public class PlayList { private Song songs; ImmutableSet immutableSet; // Bound Mismatch error occurring here

Check Solution