Created
March 22, 2018 03:10
-
-
Save arrbxr/913f36e299a8395549d80e7e20680366 to your computer and use it in GitHub Desktop.
WeakMobileVirus created by arrbxr - https://repl.it/@arrbxr/WeakMobileVirus
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
class Main { | |
public static void main(String[] args) { | |
b obj = new b(); | |
} | |
} | |
class a{ | |
public a(){ | |
System.out.println("class a"); | |
} | |
public a(int b){ | |
System.out.println(b); | |
} | |
} | |
class b extends a{ | |
public b(){ | |
//super(50); | |
System.out.println("b"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment