Skip to content

Instantly share code, notes, and snippets.

@jsyeo
Created August 13, 2015 05:01
Show Gist options
  • Select an option

  • Save jsyeo/e04dfe0660974df0f559 to your computer and use it in GitHub Desktop.

Select an option

Save jsyeo/e04dfe0660974df0f559 to your computer and use it in GitHub Desktop.
Interface Example for CHA
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