Last active
November 28, 2022 16:11
-
-
Save flyingsilverfin/ece62f75967c39cd3827d1238619186d to your computer and use it in GitHub Desktop.
Strong Typing in TypeDB blog: Java subtyping
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
// it's redundant but not wrong in Java to declare 'extends Object' explictly | |
public class Page extends Object { | |
public Page() { | |
// constructor | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment