Created
August 13, 2015 05:01
-
-
Save jsyeo/e04dfe0660974df0f559 to your computer and use it in GitHub Desktop.
Interface Example for CHA
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 class Main { | |
| public static void main(String[] args) { | |
| // write your code here | |
| Interface i = new Implementer(); | |
| i.vulnerableMethod(); | |
| } | |
| } | |
| class Implementer implements Interface { | |
| @Override | |
| public void vulnerableMethod() { | |
| } | |
| } | |
| interface Interface { | |
| void vulnerableMethod(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment