Created
November 2, 2016 20:38
-
-
Save damienwebdev/3d53cf0befb95f3bae4ef9e644b304ed to your computer and use it in GitHub Desktop.
This file contains hidden or 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 interface A{ | |
public boolean method(Base B); | |
} | |
public class Parent{ | |
} | |
public class Child extends Parent{ | |
} | |
public class classA implement A{ | |
public boolean method(Child c){ | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment