Last active
June 2, 2021 17:55
-
-
Save 95Rajitha/f16ddcf40537856dbb073233cc5deace to your computer and use it in GitHub Desktop.
Edge Cases in java type Erasure
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
public class SampleChild extends Sample<Integer> { | |
public SampleChild(int size) { | |
super(size); | |
} | |
public void putItems(Integer data) { | |
super.putItems(data); | |
} | |
public Integer getItems(){ | |
// implementations | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment