我正在帮助编辑编程类(class)并将其翻译成英语。当谈论 Java 库时,最初的译者使用术语 Java“组成”类。因此,对于可用 Java 接口(interface)的列表,该文档说了类似
“Java 附带了大量虚构的接口(interface),例如 List、Set 和 Collection。”
这是一份针对新手程序员的文档,我希望准确一点。我的直觉是使用“内置”,as seen here .
我意识到这并不是严格意义上的编程问题。但我觉得英语语言和使用委员会不太可能准确回答这个问题。是否要问StackOverflow这类问题 was discussed before我倾向于同意已接受答案下的评论。我希望这不会冒犯任何人。
更新:我最终使用了一些简短的短语,灵感来自 Joyce Farrel 的 Java 编程(第六版)中的以下段落:
Of particular value is the Java application programming interface, more commonly referred to as the Java API. The Java API is also called the Java class library; it contains information about how to use every prewritten Java class, including lists of all the methods you can use with the classes.
感谢回复者。
最佳答案
Wiki 称其为标准代码库,所以我会这样写:
“Java 附带一个标准代码库,提供 List、Set、Collection 等接口(interface)和类”
Java Class Library
关于java - Java 预构建类和接口(interface)库的确切术语,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19014831/