Last active
January 25, 2020 06:17
-
-
Save freedive-cebu30/cc0b0ca404c3c4992dc43e72adc387c4 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
// 抽象クラスをインスタンス化はできません | |
// 下記のコードはエラーが出ます | |
void main() { | |
var shape = Shape(); | |
} | |
abstract class Shape { | |
double area(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment