Skip to content

Instantly share code, notes, and snippets.

@95Rajitha
Created June 2, 2021 19:33
Show Gist options
  • Save 95Rajitha/c9d61b5118f3d346f5ed99eaa707b026 to your computer and use it in GitHub Desktop.
Save 95Rajitha/c9d61b5118f3d346f5ed99eaa707b026 to your computer and use it in GitHub Desktop.
Bridge method to solve the edge casses
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