変数と定数(続き)

前回の続きから

Experimentの部分ですね。

22行目のimplictIntegerという定数constantにマウスポインタ?を合わせて、Option-clickをしてみると、implicitIntenger: Int という宣言declarationになっていますね、という説明でした。

続きは、Values are never implicitly converted to another type.から学習しますが、今日はここまで。

0コメント

  • 1000 / 1000