Created
August 25, 2015 20:02
-
-
Save jsyeo/1cc0491ac984493c5d91 to your computer and use it in GitHub Desktop.
Abstract Class
This file contains 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 | |
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