- 基本释义
- 英英释义
- 更多资料
- 1. 编译错误
机器翻译参考:
查词历史
网络例句
以下结果来自互联网
- If you try to call the wrong method for an object, you’ll get an error message at compile-time.

若试图为一个对象调用错误的方法,就会在编译期得到一条出错消息。 - The file will compile without error because the lines that would cause errors are commented out with a //!.

文件编译时不会报错,因为那些会导致错误的行已用//!变成了注释内容。 - If you forget, Java definitely improves on C++: you get a compile-time error telling you the variable might not have been initialized.

如果忘记,就会得到一条编译期错误,告诉我们变量可能尚未初始化。这种处理正是java优于c++的表现之一。 - (The only time you won’t get a compile-time error is when x and y are boolean, in which case x = y is a legal expression, and in the above case, probably an error.)

唯一不会得到编译错误的时候是x和y都为布尔值。在这种情况下,x=y属于合法表达式。而在上述情况下,则可能是一个错误。 - In Java, the result of this expression is not a boolean, and the compiler expects a boolean and won’t convert from an int, so it will conveniently give you a compile-time error and catch the problem before you ever try to run the program.

在java里,这个表达式的结果并不是布尔值,而编译器期望的是一个布尔值,而且不会从一个int数值中转换得来。所以在编译时,系统就会提示出现错误,有效地阻止我们进一步运行程序。
网络释义
以下结果来自互联网
- 1. 程序不能通过编译
-
2.
编译错误
{n.}抵消错误,改正错误 compile error...编译错误 compile time error...{n.}编译时间错误 compile-time error
www.ifanyi.cn - 相关搜索 - 3. 为什么总是编译错误
- 4. 显示的是
