Created
June 2, 2021 19:33
-
-
Save 95Rajitha/c9d61b5118f3d346f5ed99eaa707b026 to your computer and use it in GitHub Desktop.
Bridge method to solve the edge casses
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 { | |
public void putItem(Object data) { | |
putItem((Integer)data); | |
} | |
public void putItem(Integer val) { | |
super.putItem(val); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment