質問編集履歴
1
コンソールに記入漏れの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,6 +42,12 @@
|
|
42
42
|
|
43
43
|
```
|
44
44
|
|
45
|
+
scala> sealed abstract class Fluits(val value:String)
|
46
|
+
|
47
|
+
defined class Fluits
|
48
|
+
|
49
|
+
|
50
|
+
|
45
51
|
scala> case object Fluits {
|
46
52
|
|
47
53
|
| case object Apple extends Fluits("Apple")
|