Skip to content

Instantly share code, notes, and snippets.

@jsyeo
Created August 25, 2015 20:02
Show Gist options
  • Save jsyeo/1cc0491ac984493c5d91 to your computer and use it in GitHub Desktop.
Save jsyeo/1cc0491ac984493c5d91 to your computer and use it in GitHub Desktop.
Abstract Class
public class Main {
public static void main(String[] args) {
// write your code here
Abstract a = new Subclass();
a.vulnerableMethod();
}
}
class Subclass extends Abstract {
@Override
public void vulnerableMethod() {
}
}
abstract class Abstract {
abstract void vulnerableMethod();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment