且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

插入“赋值运算符表达式”完成表达

更新时间:2023-02-15 08:11:44

根据此页面您正在执行此操作



  • 编写没有赋值运算符的赋值语句:

  • Writing an assignment statement without the assignment operator:

max ;          // Error, missing =

Eclipse:语法错误,插入AssignmentOperator Expression以完成表达式

你应该知道编译错误消息是依赖于实现的。上面适用于Eclipse编译器。太阳 javac 例如会说

You should know though that the compile error messages are implementation dependent. The above applies for the Eclipse compiler. Suns javac would for instance say

YourFile.java:line: not a statement
max ;
^