gpt4 book ai didi

kotlin - 什么是 Kotlin 模块?

转载 作者:IT老高 更新时间:2023-10-28 13:28:48 24 4
gpt4 key购买 nike

在 Kotlin 文档中,他们提到了某种 模块,例如在 documentation 中。对于 internal 修饰符。

但是我找不到术语 module 本身的任何定义。那么模块是什么意思呢?

最佳答案

A module is a set of Kotlin sources compiled together:

  • an IntelliJ IDEA module;
  • a Maven project;
  • a Gradle source set;
  • a set of files compiled with one invocation of the Ant task.

这是同一个 docs article关于可见性修饰符。 :)

关于kotlin - 什么是 Kotlin 模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35271413/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com