Created
June 20, 2019 01:51
-
-
Save tedyoung/42558b4a46436c8009ded19b131b11b7 to your computer and use it in GitHub Desktop.
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
Take a look at these two classes: | |
``` | |
class Equity { | |
public Equity(String name) { | |
} | |
} | |
class Stock extends Equity { | |
} | |
``` | |
What's wrong with this code | |
and how might you fix it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment